Added a switch to the transmitter to toggle packets on and off