circuitpython/ports
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
..
atmel-samd Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
cxd56 Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
esp32s2 Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
litex count in/out endpoints; allow more usb modules on low-endpoint boards 2021-05-13 21:59:02 -04:00
mimxrt10xx Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
nrf Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
raspberrypi Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
stm Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
unix Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00