December 12, 2012

avr-os: Multitasking on Arduino

 Chris Moos has published a new Arduino library - avr-os, that enables an Arduino to multitask. in Chris' words

The library uses pre-emptive multitasking to switch tasks and each task has its own stack that is restored when a task is resumed. An AVR timer is used to provide ticks and this interrupt is used to switch tasks. 


This looks promising and adds a new dimension to the possible uses of an Arduino board. Chris provides demonstration sketches and the complete code download so you can try it out for yourself.


For more information, click here to visit the project page. And for more, we're on twitter and Google+, so follow us for news and product updates as well.

If you're an experienced Arduino user and interested in more advanced Arduino projects and usage - get yourself a copy of "Practical Arduino" by Jonathan Oxer and Hugh Blemings:


Create your own Arduino-based designs, gain an in-depth knowledge of the architecture of Arduino, and learn the easy-to-use Arduino language all in the context of practical projects that you can build yourself at home. Get hands-on experience using a variety of projects and recipes for everything from home automation to test equipment. For more information and to order, click here



Leave a comment

Comments have to be approved before showing up.