Home News Features Examples Code FAQ License
AVR Webring
Prev Hub Join Rate Next
Examples for the ATtiny861.

Goals

These examples are made to get you quickly up and running. Besides that, it is always a lot easier to learn from examples how to use the api as it is to read manuals. All examples are compiled for the ATtiny861 but I assume they will run as well on the ATtiny461 or ATtiny261, only if they fit of course. Examples are packed in the download. Please note that not all examples in the package are discussed here. This is just to give an impression.

Second, these examples are used to test modifications to the code. Unfortunately Atmels simulator is not capable of simulating the timer of the tiny series, and also crashes quite often (excessive stack overflow) on perfectly valid code. Thus it is not possible to automate the tests for the operating system.

The Femto OS has a trace facility which makes it possible to follow most actions. It is also possible to make use of this facility from user application code. Extra, but simple, hardware is needed to extract that information. In the current port, the information is sent to the USI, and must be retrieved by an external device. To that end, you can use the communication and trace program, contained in the download (for now, windows only) the connection schematics to the parallel port given here. We have a SVG version and a large PNG version.

Contact: info@femtoos.org