User's Manual

D2106-THGN01_User Manual
29
0 High level
1 Low level
Example
AT+RGPIO_LEVEL=1AC0,5
8.4.26 AT+PWM
Function
Configure remote/local PWM input/output mode
Format
Configure
Send
AT+PWM= addr,period,duty1, duty2,duty3,duty4,duty5
Return
+OK<CR><LF>
Parameter
addr
0000~FFF8 Remote short address device
FFFF Local device
period (1 = 62.5ns)
0~65535
周期
duty1
0 Close
Other channel 1 is square wave with duty cycle of 50%.
duty2~ duty5
0~65535 1 = 62.5ns
The PWM of the channel is closed when the pulse width time of the corresponding channel number is 0 or greater than
the period.
Example
AT+ PWM=1AC0,1000,1,500,500,0,500
8.4.27 AT+RPWM
Function
Read remote/local PWM input/output mode
Format
Read
Send
AT+RPWM=addr
Return
RPWM=addr,period,duty1,duty2,duty3,duty4,duty5<CR><LF>
Parameter
addr
0000~FFF8 Remote short address device
FFFF Local device
period (1 = 62.5ns)
0~65535 cycle
duty1
0 Close
Other channel 1 is square wave with duty cycle of 50%
duty2~ duty5
0~65535 1 = 62.5ns
The PWM of the channel is closed when the pulse width time of the corresponding channel number is 0 or greater than
the period.
Example
AT+RPWM=1AC0
8.4.28 AT+ADC
Function
Read remote/local ADC input
Format
Read
Send
AT+ADC=addr,adcx