C code for AVR projects