wakeup()

the function called when waking up from sleep.

Called before loop() when waking up from sleep, and includes procedures for initialization after returning from sleep and for branching processing depending on the state of return.

If there is no processing in loop() but only reading of sensors, etc., sleep can be performed again in this function.

This callback function definition is optional.

最終更新