C code samples for the ATmega328P