2019.06.24

This commit is contained in:
hnwangkg-ezio 2019-06-24 17:11:43 +08:00
commit 1f82e4a488
2990 changed files with 667957 additions and 444550 deletions

View file

@ -0,0 +1,32 @@
#include <SPI.h>
#include "epd1in54_V2.h"
#include "imagedata.h"
Epd epd;
void setup()
{
// put your setup code here, to run once:
Serial.begin(9600);
if (epd.Init() != 0) {
Serial.println("e-Paper init failed");
return;
}
Serial.println("e-Paper clear");
epd.Clear();
Serial.println("e-Paper show pic");
epd.Display(IMAGE_DATA);
Serial.println("e-Paper clear and sleep");
epd.Clear();
epd.Sleep();
}
void loop()
{
}