tomtor
(Tom Vijlbrief)
9
When the mcu sleeps you will have to adjust timer0_overflow_count for original AVR microcontrollers, see the end of:
For other microcontrollers it will be different. Stm32 needs adjustment of systick_uptime_millis, see eg:
1 Like