adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
438 stars 328 forks source link

Use HW PWM for pins that support it #800

Open makermelissa opened 3 months ago

makermelissa commented 3 months ago

I recently added PWM support for the Pi 5 via #797. As far as I can tell, it is all software PWM. It would be nice to use hardware PWM for pins that support it and fall back to the way it is now for pins that don't support it.