Sampling period equals

Response Code:

Binary: [1 0 0 1 1 1 1 1] [0 0 0 0 0 1 0 0] [sample period (SH)] [sample period (SL)]


SH and SL contain the high and low bytes of sampling period in 1/5 microsecond steps. Valid numbers for S are 250 (50us)  to 5000 (1ms). All others values will produce an invalid sample period error response. S=1000 (200us) at startup.

The IR sampling period determines the maximum timing resolution which can be achieved when decoding IR signals. In general, the sampling period should be at least 3 times shorter than the shortest pulse you wish to detect. Short sampling periods are necessary when acquiring timing information about new remote signals, but are not necessarily needed to output known remote signals since the sampling period need only be the least common multiple of the pulse widths in the signal.

The IR sampling period is also used as a timebase for parallel port output signals.