This program was made for PIC18F14K50 with mikroC compiler www.mikroe.com for external 20MHz clock. Connect Vdd, Vss, MCLR and oscillator to appropriate pins and then RC5 pin to RC reciever's output signal, then watch changes on RB5 or RB6 while you are moving transmiter's switch from one position to the other.