August,
Thanks for posting the code.
Krumlink has the detector working using the PIC generated output. Krumlink had the hardware and I used to simulator to kludge up the code for/with him.
We used processor cycles. Delay_10CTx(10) plus a few nop's to tune it. I used the simulator LA to get the timing close. Thinking is is + or - 4 cycles out of 220 or so.
I want to thank whoever (maybe Nigel?) mentioned that it was not a good idea to send a steady stream of 38KHz.
The C18 file is far from polished but I have included it in case anyone wants to see it.
All is well with the world. For now.
Thanks for posting the code.
Krumlink has the detector working using the PIC generated output. Krumlink had the hardware and I used to simulator to kludge up the code for/with him.
We used processor cycles. Delay_10CTx(10) plus a few nop's to tune it. I used the simulator LA to get the timing close. Thinking is is + or - 4 cycles out of 220 or so.
I want to thank whoever (maybe Nigel?) mentioned that it was not a good idea to send a steady stream of 38KHz.
The C18 file is far from polished but I have included it in case anyone wants to see it.
All is well with the world. For now.