We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20cc1ba commit 704add4Copy full SHA for 704add4
examples/WakeFromPin/WakeFromPin.ino
@@ -75,7 +75,6 @@ void setup(){
75
lowPower.enableWakeupFromPin(WAKE_PIN, FALLING);
76
77
pinMode(LED_BUILTIN, OUTPUT);
78
- digitalWrite(LED_BUILTIN, LOW); // Turn the built-in LED on to indicate the device is awake
79
80
#ifdef TURN_PERIPHERALS_OFF
81
PMIC.begin();
@@ -85,10 +84,10 @@ void setup(){
85
84
86
void loop(){
87
// Blink the built-in LED every 500ms when the device is not sleeping
88
- digitalWrite(LED_BUILTIN, HIGH);
89
- delay(500);
90
digitalWrite(LED_BUILTIN, LOW);
91
delay(500);
+ digitalWrite(LED_BUILTIN, HIGH);
+ delay(500);
92
}
93
94
0 commit comments