circuitpython/ports/atmel-samd/common-hal/pulseio
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
..
__init__.c Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
PulseIn.c codeformat: Fix handling of ** 2021-04-30 15:30:13 -05:00
PulseIn.h codeformat: Fix filename matching 2021-04-30 10:48:08 -05:00
PulseOut.c Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
PulseOut.h Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00