Added two function to make the protocol straight forward

Two functions has been added and adapted for two way communication
between two AVR (ATmega328p)