Code for Atmel 8-bit microcontrollers