Remove second display initialization
Calling the init method a second time hangs forever, so the loop is never executed otherwise. Removing the second call fixes it.
This commit is contained in:
parent
dee10ea85d
commit
2ccca21326
1 changed files with 0 additions and 5 deletions
|
|
@ -92,11 +92,6 @@ void setup() {
|
||||||
|
|
||||||
delay(2000);
|
delay(2000);
|
||||||
|
|
||||||
if (epd.Init() != 0) {
|
|
||||||
Serial.print("e-Paper init failed ");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* there are 2 memory areas embedded in the e-paper display
|
* there are 2 memory areas embedded in the e-paper display
|
||||||
* and once the display is refreshed, the memory area will be auto-toggled,
|
* and once the display is refreshed, the memory area will be auto-toggled,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue