circuitpython/ports/mimxrt10xx/common-hal
Scott Shawcroft 412eb87080
Switch to pin, frequency and duty_cycle PulseOut
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0

This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.

Most of the way for #3264

Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
..
analogio run code formatting script 2021-03-15 19:27:36 +05:30
board Add license to some obvious files. 2020-07-06 19:16:25 +01:00
busio mimxrt10xx: Fix bogus assertion. 2021-03-31 09:21:08 -05:00
digitalio run code formatting script 2021-03-15 19:27:36 +05:30
displayio Formatting fixes 2021-03-16 08:22:02 -05:00
microcontroller Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
neopixel_write run code formatting script 2021-03-15 19:27:36 +05:30
os run code formatting script 2021-03-15 19:27:36 +05:30
pwmio Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
rtc run code formatting script 2021-03-15 19:27:36 +05:30
supervisor run code formatting script 2021-03-15 19:27:36 +05:30