![Digi XBee DigiMesh 2.4 Скачать руководство пользователя страница 48](http://html1.mh-extra.com/html/digi/xbee-digimesh-2-4/xbee-digimesh-2-4_user-manual_2496252048.webp)
Work with networked devices
Monitor I/O lines
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
48
Monitor I/O lines
Pin command parameter
Description
0
Unmonitored digital input
1
Reserved for pin-specific alternate functionality
2
Analog input (A/D pins) or PWM output (PWM pins)
3
Digital input, monitored
4
Digital output, low
5
Digital output, high
6-9
Alternate functionality, where applicable
The following table provides the pin configurations when you set the configuration command for a
particular pin.
Device pin name
Device pin number
Configuration command
CD / DIO12
4
P2
PWM0 / RSSI / DIO10
6
P0
PWM1 / DIO11
7
P1
DTR / SLEEP_RQ / DIO8
9
D8
AD4 / DIO4
11
D4
CTS/ DIO7
12
D7
ON/SLEEP/ DIO9
13
D9
ASSOC / AD5 / DIO5
15
D5
RTS / DIO6
16
D6
AD3 / DIO3
17
D3
AD2 / DIO2
18
D2
AD1 / DIO1
19
D1
AD0 / DIO0 / Commissioning Pushbutton
20
D0
Use the
PR
command to enable internal pull up/down resistors for each digital input. Use the
PD
command to determine the direction of the internal pull up/down resistor.
Queried sampling
You can use the
IS
command to query the current state of all digital input and ADC lines on the device.
If no inputs are defined, the command returns with an ERROR.
Содержание XBee DigiMesh 2.4
Страница 1: ...XBee XBee PRO DigiMesh 2 4 Radio Frequency RF Module User Guide...
Страница 63: ...Sleep modes Synchronization messages XBee XBee PRO DigiMesh 2 4 RF Module User Guide 63...
Страница 105: ...Operate in API mode API mode overview 106 API frames 110 XBee XBee PRO DigiMesh 2 4 RF Module User Guide 105...
Страница 112: ...Operate in API mode API frames XBee XBee PRO DigiMesh 2 4 RF Module User Guide 112...