Source code for Atmega328p microcontroller