summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2024-11-04 16:04:56 +0100
committerDamien George <damien@micropython.org>2024-11-18 16:05:56 +1100
commit898407defbb6327fde379304846999033bf349c5 (patch)
tree37a80eb19a64b85a1ca823598816bbaea5764bb2 /docs/esp32/tutorial
parent5dc9eda1953668eb6861be01ca85f147dcf8d406 (diff)
downloadmicropython-898407defbb6327fde379304846999033bf349c5.tar.gz
micropython-898407defbb6327fde379304846999033bf349c5.zip
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 9c7ad68165bcd224c94ca6d8f172362cf8000d99 and 2ac643c15bec8c88ece0e944ce58f36d02dfd2dd. Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions