Quote Originally Posted by JackPollack
dhouston's sample code appears to be for an oscillator. How would I reduce this down to the Hz needed for my carrier? Is this program specific to the PIC12F683, or can I use it on a 12F629, 12F675 or 16F88 (chips I have available now)? Would this PIC just be used to generate the carrier, or could it also generate the complete IR stream including carrier & data pulses?
It can generate everything you need, turning the carrier on and off as my demo code does within the loop. It requires a PIC that has hardware PWM. I think the 16F88 is the only one in your inventory with that capability. Get some sleep. This is too simple a project to lose sleep over.