Hello the codes you look for are pwm so you have to do bit test feed the get an IR sensor put one leg to earth and the other to 5v through a 10k resistor the high leg then feed to pic on input pin then test this pin for high or low ect if you play around with the timeing ect adding nops to bit test you will get a value for a long pulse and a short pulse add the long and short pulses up to get value this value will be different when you press a different remote key. if you want some sample code i have it for 12c508