Code for Arduino uno (atmega328p) slave used for testing.