Hi all,

Thanks for the responses. Sorry it takes me so long to respond. I'm in Australia, so with the time differences all of your responses come in while I'm asleep.

I'm using a 40KHz phototransistor to receive, yes, and interfacing it to a PIC16F628A oscillating at 4MHz.

Thanks for the example code, DaveC3. It's not a remote control that I'm trying to read from, but I imagine it's a similar process across the board. I'll pick that code apart and see what I can come up with.