High-Flying
Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 67 -
B.1.6
PWM <channel> SET
Function: Save PWM Channel setting
Parameters:
channel:PWM Channel number, it can be 11
、
12
、
18
、
20(GPIO Pin number)
Return Data:
PWM OK: Command successful
PWM NOK: Command failed
B.2 Hexadecimal Network Command
Send hexadecimal data to fastly read module’s port status.
B.2.1
Read all GPIO Channel
Send Data
【
0a
】
:
Return Data:
【
8a <value>
】
value:bit0
、
bit1 represent 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
HF-SH01