XBEE RECEIVER BOARD
XBEE is connected to PIC and send the command to the other XBEE via USART.
IR-LED can output signal for controlling TV or other IR-controllable appliances and it is controlled by PWM.
Carrier is 40kHz so PWM frequency is set to that value and the duty ratio is 1:3.