Properly initialized the ports on the transmitter