1 parent 5c83d05 commit d072573Copy full SHA for d072573
1 file changed
docs/esp8266/tutorial/pwm.rst
@@ -28,8 +28,8 @@ You can set the frequency and duty cycle using::
28
>>> pwm12.duty(512)
29
30
Note that the duty cycle is between 0 (all off) and 1023 (all on), with 512
31
-being a 50% duty. If you print the PWM object then it will tell you its current
32
-configuration::
+being a 50% duty. Values beyond this min/max will be clipped. If you
+print the PWM object then it will tell you its current configuration::
33
34
>>> pwm12
35
PWM(12, freq=500, duty=512)
0 commit comments