Home News Features Examples Code FAQ License
AVR Webring
Prev Hub Join Rate Next
Reducing power consumption while preserving the tick counter.


The ATtiny861 can be brought to a low power sleep. This application demonstrates that the Femto OS is capable of utilizing this feature, and at the same time keeps the tick counter into sync. The OS periodically checks if the smallest delay time off all running tasks is large enough to start sleeping. If so, the device is put to low power sleep. After wake up the tick counter is restored and operations are continued.


ATtiny861 and STK500. The eight leds on the STK500 connected to port A. Port B is unused.

Contact: info@femtoos.org   CC-BY License: Ruud Vlaming.