circuitpython/docs/samd
robert-hh 898407defb ports: Make PWM duty_u16 have an upper value of 65535 across all ports.
The following ports used 65536 as the upper value (100% duty cycle) and are
changed in this commit to use 65535: esp8266, mimxrt, nrf, samd.

Tested that output is high at `duty_u16(65535)` and low at `duty_u16(0)`.
Also verified that at `duty_u16(32768)` the high and low pulse have the
same length.

Partially reverts #10850, commits 9c7ad68165
and 2ac643c15b.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-11-18 16:05:56 +11:00
..
img docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
tutorial docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
general.rst docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
pinout.rst all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
quickref.rst ports: Make PWM duty_u16 have an upper value of 65535 across all ports. 2024-11-18 16:05:56 +11:00