Quote Originally Posted by CuriousOne View Post
Thanks, but your code lacks some commands as I can see, like:

OSCCON = %01110111

to set OSC clock to 8mhz
You cannot assume that just by see "DEFINE OSC 8", because he can be using an external osc. You can only assume that, it he had post the config fuses.

One more thing, about this
There's nothing much to post in schematic, the receiver is hooked as it should, GND goes to GND, VDD goes to VDD, and OUT is connected to PORTC.4
What's the reference of your IR receiver? Because some need a pull up resistor, when your are not using it.