circuitpython/shared-bindings/pwmio
Jeff Epler ff1942cff6 Enable protomatter on RP2040 builds
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it.  That's what pausing inside reconstruct
fixes.

So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer.  It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
2021-02-12 08:25:15 -06:00
..
PWMOut.c Split pulseio.PWMOut into pwmio 2020-08-18 13:08:33 -07:00
PWMOut.h Enable protomatter on RP2040 builds 2021-02-12 08:25:15 -06:00
__init__.c Split pulseio.PWMOut into pwmio 2020-08-18 13:08:33 -07:00
__init__.h Split pulseio.PWMOut into pwmio 2020-08-18 13:08:33 -07:00