It seems that I can’t use millis() to establish elapsed time when using sleep mode(LowPower_Handler().)
Which is fair enough, but is there a simple way to find the elapsed time between two interrupts when using low power mode? I can use a timer, I suppose, but to get even one second granularity would, I imagine, add a fair amount of power consumption.
Timing in low power mode
This seems to count even in low power mode
TimerTime_t curTime = TimerGetCurrentTime( );
1 Like
Thanks. That works for me.