circuitpython/ports/stm/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
..
alarm Merge remote-tracking branch 'adafruit/main' into simplify_status_led 2021-05-20 13:46:42 -07:00
analogio run code formatting script 2021-03-15 19:27:36 +05:30
audiopwmio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
board create copy 2020-03-11 18:13:06 -04:00
busio fix keyboard interrupt 2021-06-18 11:15:51 -05:00
canio run code formatting script 2021-03-15 19:27:36 +05:30
digitalio run code formatting script 2021-03-15 19:27:36 +05:30
displayio More formatting 2021-03-16 08:29:04 -05:00
microcontroller Improve STM reset reason 2021-05-19 11:48:02 -07:00
neopixel_write run code formatting script 2021-03-15 19:27:36 +05:30
nvm 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
pulseio Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
pwmio Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
rgbmatrix run code formatting script 2021-03-15 19:27:36 +05:30
sdioio 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