Home News Features Examples Code FAQ License
AVR Webring
Prev Hub Join Rate Next
Bare OS, i.e. no tasks, idle 'task' counts.


This example is made to demonstrate how small the Femto OS can be. It runs only the idle task, which is not really a task since it runs totally in OS space. However, there is the possibility to add some code to this 'task' through the idle hook. Here we made a 16 bit counter out of the i/o lines.


ATtiny861 and STK500. The eight leds on the STK500 connected to port A. Port B may be connected to leds, but this is not needed.

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