Adjust reset timing

This commit is contained in:
SSYYL 2021-07-19 16:51:02 +08:00
commit abe28de022
2 changed files with 13 additions and 7 deletions

View file

@ -30,17 +30,19 @@
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.begin(115200);
Epd epd;
Serial.print("e-Paper init \r\n ");
if (epd.Init() != 0) {
Serial.print("e-Paper init failed\r\n ");
return;
}
Serial.print("e-Paper Display\r\n ");
epd.Displaypart(IMAGE_DATA,250, 200,240,103);
Serial.print("e-Paper Clear\r\n ");
epd.Clear();
epd.Displaypart(IMAGE_DATA,250, 200,240,103);
}
void loop() {