On Fri, 14 Aug 1998, John A. Craft wrote: > Is there any standard way to interpret an IR transmission? > > > Given an IR stream like this ____|````|____|````|____|````|____ > > The signal is detected on the transistion to high, and the pulse width is > known, will sampling in the middle of each pluse do? Or is there another > method? If this is a remote control signal, with ppm, then no, you need to look at the edges. If it's a barrier, you can look in the middle. The problem is, that if the source is not iso-synchronous with your code, the 2 will slowly slip out of sync (slowly is within seconds or less even with good crystals). Peter