Add 4.37inch e-Paper (G) Arduino Program and some fix.

This commit is contained in:
SSYYL 2022-08-16 15:53:11 +08:00
commit 31c2e4176e
18 changed files with 1518 additions and 534 deletions

View file

@ -39,14 +39,20 @@ void setup() {
return;
}
Serial.print("While \r\n");
epd.Clear(white); // While
Serial.print("White \r\n");
epd.Clear(white);
delay(2000);
epd.Init();
Serial.print("Image \r\n");
epd.Display(IMAGE_DATA);
delay(2000);
epd.Init();
Serial.print("Small Image \r\n");
epd.Display_part(IMAGE_DATA, 0 ,0, 168, 400);
delay(2000);
epd.Init();
Serial.print("Clear...\r\n");
epd.Clear(white);
@ -54,7 +60,6 @@ void setup() {
Serial.print("Goto Sleep...\r\n");
epd.Sleep();
}
void loop() {