jonblack/arduino-fsm

Sleep mode ?

Opened this issue · 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