Update C file for AVR Project