fixed sleep print

pico-fc-test
alanbjohnston 3 years ago committed by GitHub
parent 7fc01a0467
commit 72abd0380c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -254,7 +254,9 @@ void loop() {
if (digitalRead(13) == HIGH) { if (digitalRead(13) == HIGH) {
sleep_cam = true; // only sleep if GPIO13 is High on boot sleep_cam = true; // only sleep if GPIO13 is High on boot
Serial.println("\nGPIO13 is LOW, so don't sleep"); Serial.println("\nGPIO13 is HIGH, so will sleep");
} else {
Serial.println("\nGPIO13 is LOW, so dont' sleep");
} }
bool timeout = false; bool timeout = false;

Loading…
Cancel
Save

Powered by TurnKey Linux.