I/O Settings Commands; Ir (I/O Sample Rate); Ic (Digital Change Detection) - Digi XBee User Manual

Zigbee module
Hide thumbs Also See for XBee:
Table of Contents

Advertisement

AT commands
Parameter
4
5
Default
0

I/O settings commands

The following AT commands are I/O settings commands.

IR (I/O Sample Rate)

Set or read the I/O sample rate to enable periodic sampling.
If you set the I/O sample rate to greater than 0, the device samples and transmits all enabled digital
I/O and analog inputs every IR milliseconds. I/O Samples transmit to the address specified by DT.
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. The sample rate is measured in milliseconds.
For more information, see the following commands:
D0 (AD0/DIO0 Configuration)
n
P0 (RSSI/PWM0 Configuration)
n
WARNING! If you set IR to 1 or 2, the device will not keep up and many samples will be
lost.
Parameter range
0, 0x32:0xFFFF (ms)
Default
0

IC (Digital Change Detection)

Set or read the digital I/O pins to monitor for changes in the I/O state.
IC works with the individual pin configuration commands (D0 - D9, P0 - P4) . If you enable a pin as a
digital I/O, you can use the IC command to force an immediate I/O sample transmission when the DIO
state changes. IC is a bitmask that you can use to enable or disable edge detection on individual
channels.
Set unused bits to 0.
Bit
0
XBee/XBee-PRO® S2C ZigBee® RF Module
Description
Digital output, low
Digital output, high
through
D9
through
I/O line
DIO0
(DIO9/ON_SLEEP),
P4
(DIO14/DIN).
I/O settings commands
238

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro

Table of Contents