How does the LowPowerMode work?

Hello everyone!

In the examples (Basics/LowPower/LowPower_WakeUpByGPIO) there is a documenting comment next to the call to lowPowerHandler():

    //note that lowPowerHandler() runs 5 times before the mcu goes into lowpower mode;
    lowPowerHandler();

What is going on here? Why is this code called five times?
Where can more documentation be found about this behaviour?

Thank you,

~Qqwy

hi,

please git pull.

we have updated it. It won’t be called 5 times now.

1 Like