transmitter code