High-Flying
Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 68 -
B.2.3
Read All PWM Channel Frequency
Send Data:
【
30
】
:
Return Data:
【
b0 <value1 value2 value3 value4 value5 value6 value7 value8>
】
value1: High byte of PWM Channel 0(GPIO11) frequency
value2: Low byte of PWM Channel 0(GPIO11) frequency
value3: High byte of PWM Channel 1(GPIO12) frequency
value4: Low byte of PWM Channel 1(GPIO12) frequency
value5: High byte of PWM Channel 2(GPIO18) frequency
value6: Low byte of PWM Channel 2(GPIO18) frequency
value7: High byte of PWM Channel 3(GPIO20) frequency
value8: Low byte of PWM Channel 3(GPIO20) frequency
B.2.4
Write PWM Channel Frequency
Send Data:
【
32 <channel value1 value2
】
:
channel: PWM Channel number
value1: High byte of PWM Channel frequency
value2: Low byte of PWM Channel frequency
Return Data:
【
b2 <channel value1 value2>
】
Channel: PWM Channel number
value1: High byte of PWM Channel frequency
value2: Low byte of PWM Channel frequency
B.2.5
Read All PWM Channel Duty
Send Data:
【
20
】
:
Return Data:
【
a0 <value1 value2 value3 value4>
】
value1: Duty of PWM Channel 0
value2: Duty of PWM Channel 1
HF-SH01