Home News Features Examples Code FAQ License
AVR Webring
Prev Hub Join Rate Next
Flashing eight leds independently.

Description

This example is made to demonstrate eight tasks can be run in around 1K of flash and as little as 74 bytes of ram. These are totals, stacks of all tasks and the OS included. Each task drives the flashing of one led, so that the leds all blink independently at different frequencies.

Hardware

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.