HF-LPC100 Wi-Fi/Bluetooth Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 54
-
B.1.6
PWM <channel> SET
Function : save PWM channel output value
Parameter
channel
:
PWM channel number, can be 11
、
12
、
18
、
20(GPIO pin number)
return data
PWM OK
:
command succeed
PWM NOK
:
command failed
B.2 Hexadecimal Network Command
Send hexadecimal data to quickly read module‘s I/O status, send area and receive area must send
and receive based on hexadecimal.
B.2.1
Read all GPIO channel
Send data
【
0a
】:
return data
:【
8a <value>
】
value
:
bit0
、
bit1represent GPIO15
、
GPIO23 value
B.2.2
Reverse GPIO Channel value
Send Data
【
03 <channel>
】
:
channel: GPIO Channel number, it can be 01
、
02(GPIO15
、
GPIO23)
Return Data:
【
83 <channel value>
】
channel: GPIO Channel number, it can be 01
、
02(GPIO15
、
GPIO23)
value: GPIO Channel value, 0 or 1
High-Flying