The code for the transmitter