I use PULSIN statement to measure pulse width of the
incomming data, see post:

http://www.picbasic.co.uk/forum/show...=&threadid=695

...similar to SONY remote codes. I measure only low pulses
as all high pulses are the same (200us as per post), so I just
assume they're there

I then have to reconstruct data bytes bit-by-bit as you can
see above. I know I'm doing something wrong with shifting
bits to the right, but I can't figure out what.

YZ7REA Vladimir