circuitpython/ports/raspberrypi/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 Clean up sleep memory, mark as not-implemented 2021-06-20 17:57:51 -04:00
analogio run code formatting script 2021-03-15 19:27:36 +05:30
audiobusio Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
audiopwmio Fix various RP2040 audio dma things: (see detailed commit message) 2021-07-08 08:14:49 -04:00
board Removed more includes 2021-02-26 22:35:38 -06:00
busio Disallow ctrl-C interrupts of RP2040 SPI and PIO 2021-07-08 13:42:24 -04:00
countio 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 Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
imagecapture Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
microcontroller update run-mode 2021-07-18 00:00:58 +05:30
neopixel_write Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
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
rotaryio Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
rp2pio Check jmp_pin specified when JMP PIN opcodes used 2021-07-23 13:35:20 +02: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
watchdog run code formatting script 2021-03-15 19:27:36 +05:30