IR (Sample Rate)

This command applies to the XBee 3 802.15.4 RF Module.

Set or read the I/O sample rate to enable periodic sampling. When set, this parameter causes the device to sample all enabled DIO and ADC at a specified interval.

To enable periodic sampling, set IR to a non-zero value, and enable the analog or digital I/O functionality of at least one device pin (see D0 (DIO0/ADC0/Commissioning Configuration)-D8 (DIO8/DTR/SLP_Request Configuration), P0 (DIO10/RSSI/PWM0 Configuration)-P2 (DIO12/TH_SPI_MISO Configuration).

WARNING! If you set IR to 1 or 2, the device will not keep up and many samples will be lost.

Parameter range

0 - 0xFFFF (x 1 ms)

Default

0