Monitor I/O lines Detect digital I/O changes
XBee®/XBee-PRO SX RF Module User Guide
167
graph shows only IR samples, the bottom graph shows a combination of IR samples and IC (Change
Detect). In the top graph, the humps indicate that the sample was not taken at that exact moment
and needed to wait for the next IR sample period.
Note Use caution when combining Change Detect sampling with sleep modes. IC only causes a
sample to be generated if the change takes place during a wake period. If the device is sleeping when
the digital input transition occurs, then no change is detected and an I/O sample is not generated.
Use IR in conjunction with IC in this instance, since IR generates an I/O sample upon wakeup and
ensures that the change is properly observed.