User's Manual

Chengdu Ebyte Electronic Technology Co., Ltd E104-BT05 User Manual
Copyright ©20122019Chengdu Ebyte Electronic Technology Co.,Ltd
30
3 Set PWM output, use AT instruction "AT + PWMFRQ = xx" to set the PWM cycle, and use AT instruction "AT + PWM1 = xx"
to set the PWM duty cycle. The calculation method of PWM cycle is as follows: within the module, we set the precision to T=0.01ms,
that is, the minimum cycle is 0.01ms. We can pass in parameters when setting, if need to set the cycle to 10ms, then t=T*para, bring
in T=0.01ms, t=10ms, and calculate para=1000