Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
ch1.pulse_width_percent()的参数,为什么大于100也行?占空比不是只能在0~100之间吗?pulse_width_percent函数内部对大于100的参数是怎样处理的?
大于100,就自动限制为100呗。
ch1.pulse_width_percent(1000) print(ch1.pulse_width_percent())
输出:100.0