mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
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, commits9c7ad68165
and2ac643c15b
. Signed-off-by: robert-hh <robert@hammelrath.com>