added arduino code for transmitter unit