Add "storage mode" to protect EPDs (lowest button while booting)
This commit is contained in:
parent
37c57b7d97
commit
23ef2a64cc
2 changed files with 26 additions and 5 deletions
|
@ -31,6 +31,16 @@ void setup()
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
if (mcp1.digitalRead(0) == LOW)
|
||||
{
|
||||
// Then loop forever to prevent anything else from writing to the screen
|
||||
while (true) {
|
||||
delay(1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tryImprovSetup();
|
||||
|
||||
setupWebserver();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue