This command applies to the XBee/XBee-PRO S2C DigiMesh 2.4.
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 - P2). If you enable a pin as a digital I/O, use the IC command to force an immediate I/O sample transmission when the DIO state changes. If sleep is enabled, the edge transition must occur during a wake period to trigger a change detect.
The data transmission contains only DIO data.
IC is a bitmask you can use to enable or disable edge detection on individual digital I/O lines. Only DIO0 through DIO12 can be sampled using a Change Detect.
Set unused bits to 0.
Bit | I/O line | Surface-mount pin | Through-hole pin |
---|---|---|---|
0 | DIO0 | 33 | 20 |
1 | DIO1 | 32 | 19 |
2 | DIO2 | 31 | 18 |
3 | DIO3 | 30 | 17 |
4 | DIO4 | 24 | 11 |
5 | DIO5 | 28 | 15 |
6 | DIO6 | 29 | 16 |
7 | DIO7 | 25 | 12 |
8 | DIO8 | 10 | 9 |
9 | DIO9 | 26 | 13 |
10 | DIO10 | 7 | 6 |
11 | DIO11 | 8 | 7 |
12 | DIO12 | 5 | 4 |
0 - 0x1FFF
0