
AT commands
I/O settings commands
XBee/XBee-PRO® S2C ZigBee® RF Module
238
Parameter
Description
4
Digital output, low
5
Digital output, high
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:
n
through
,
n
through
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
I/O line
0
DIO0
Содержание XBee
Страница 1: ...XBee XBee PRO S2C ZigBee RF Module User Guide ...
Страница 259: ...AT commands Execution commands XBee XBee PRO S2C ZigBee RF Module 259 Parameter range N A Default N A ...
Страница 289: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 289 ...
Страница 290: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 290 ...
Страница 303: ...Load ZigBee firmware on 802 15 4 devices Background 304 Load ZB firmware 305 XBee XBee PRO S2C ZigBee RF Module 303 ...