Chengdu Ebyte Electronic Technology Co.,Ltd.
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
3-29
1.It takes effect immediately, save when power off.
2.4-way PWM output frequencies can be different.
6.44 Set and query PWM duty cycle
Command
Response
Parameter
Query
:
AT+DUTYx?
+OK=[para]
para: 0~ PERIODx Unit us
x:No.
Setting
:
AT+ DUTYx =[para]
+OK
:
Success
+ERR=[NUM]
:
Error
Description:
1.It takes effect immediately, save when power off.
2.4-way PWM output frequencies can be different, and the duty cycle can also be different.
6.45 Query ADC sampling value
Command
Response
Parameter
Query
:
AT+ADCx?
+OK=[para]
para: 0~4096
x:No.
Setting
:
AT+ ADCx =[para]
+OK
:
Success
+ERR=[NUM]
:
Error
Description: 12-bit ADC acquisition, output displays in decimal
6.46 Set and read the maximum battery voltage
Command
Response
Parameter
Query
:
AT+ BATMAX?
+OK=[para]
para: BATMIN~3800
(Unit
:
mV)
Setting
:
AT+BATMAX=[para]
+OK
:
Success
+ERR=[NUM]
:
Error
Description: Set according to the full voltage of the battery
Because the working voltage of the chip is limited to 1.8V ~ 3.8V, the maximum BATMAX is 3800.
6.47 Set and query the minimum battery voltage
Command
Response
Parameter
Query
:
AT+ BATMIN?
+OK=[para]
para: 1800~BATMAX
(Unit
:
mV)
Setting
:
AT+BATMIN=[para]
+OK
:
Success
+ERR=[NUM]
:
Error