File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,20 @@ void loop() {
22
22
23
23
M5.Lcd .printf (" Go lightSleep (5s or press buttonA wake up)\n " );
24
24
delay (2500 );
25
- // call this fun, power btn will Invalid
26
- // Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
25
+ // Calling this function will disable the power button
26
+ // To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
27
27
M5.Power .lightSleep (SLEEP_SEC (5 ));
28
28
29
29
M5.Lcd .printf (" Go lightSleep (press buttonA wake up)\n " );
30
30
delay (2500 );
31
- // call this fun, power btn will Invalid
32
- // Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
31
+ // Calling this function will disable the power button
32
+ // To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
33
33
M5.Power .lightSleep (0 );
34
34
35
35
M5.Lcd .printf (" resume.\n\n Go deepSleep (press buttonA wake up) " );
36
36
delay (2500 );
37
- // call this fun, power btn will Invalid
38
- // Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
37
+ // Calling this function will disable the power button
38
+ // To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
39
39
M5.Power .deepSleep (0 );
40
40
41
41
}
You can’t perform that action at this time.
0 commit comments