put H-bridge code into transmitter