circuitpython/ports/atmel-samd/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
..
_pew run code formatting script 2021-03-15 19:27:36 +05:30
analogio added pin object to analogout 2021-07-12 20:33:42 -04:00
audiobusio uncrustify with newer version of uncrustify 2021-04-30 10:40:12 -04:00
audioio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
board Add license to some obvious files. 2020-07-06 19:16:25 +01:00
busio Fix crash when UART construct fails 2021-07-20 17:15:19 -07:00
canio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
countio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
digitalio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
displayio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
frequencyio FrequencyIn: do not raise in interrupt handler 2020-12-22 18:54:42 -05:00
i2cperipheral codeformat: Fix handling of `**` 2021-04-30 15:30:13 -05:00
imagecapture ParallelImageCapture: Switch to taking a list of pins 2021-06-10 11:15:18 -05:00
microcontroller Remove MICROPY_PORT_* macros used for never reset 2021-07-15 16:20:04 -07:00
neopixel_write Fix SAMD 2021-05-14 16:14:24 -07:00
nvm codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
os codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
ps2io codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
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 codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
rotaryio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
rtc codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
sdioio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
supervisor codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
touchio codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00