Multitasking library for the Atmel AVR processor