Library code for avr microchips firmware