Hello
I used arduino 2.3.3 and lastest sdk arduino. (board AMB82 mini)
I need to do i program that periodically wake up execute some tasks and then go back to sleep (to save energy).
I tried the function “PowerMode.begin” with DEEPSLEEP_MODE et STANDBY_MODE but it seems like there is no data retention at wake up. Variables reset to init values. Which is a problem, for example if I configure the RTC or another peripheral, i don’t want to re-init it at wakeup.
Question : When using one of the sleep mode, how to you do or activate the retention of data/variables?
Thank you