Added infrared transmitter code.