arduino-fsm icon indicating copy to clipboard operation
arduino-fsm copied to clipboard

Sleep mode ?

Open lesept777 opened this issue 7 years ago • 0 comments

Hi, I tried the fsm library and it works like a charm, even on a ESP8266! Thanks. I'd like to know what happens if I put the arduino in sleep mode, like this:

#include <avr/power.h>
...
 set_sleep_mode(SLEEP_MODE_PWR_DOWN);

How will my state machines behave? Will they still run or should I add a wakeup instruction at the beginning of the transition state functions? Fabrice

lesept777 avatar Nov 21 '17 20:11 lesept777