Skip to content

Commit d072573

Browse files
EddieParisdpgeorge
authored andcommitted
docs/esp8266: Update PWM doc regarding clipping of min/max values.
1 parent 5c83d05 commit d072573

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/esp8266/tutorial/pwm.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ You can set the frequency and duty cycle using::
2828
>>> pwm12.duty(512)
2929

3030
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::
31+
being a 50% duty. Values beyond this min/max will be clipped. If you
32+
print the PWM object then it will tell you its current configuration::
3333

3434
>>> pwm12
3535
PWM(12, freq=500, duty=512)

0 commit comments

Comments
 (0)