PWM is done via [`pwmio.PWMOut` class](https://docs.circuitpython.org/en/latest/shared-bindings/pwmio/index.html#pwmio.PWMOut). The [`pulseio` module](https://docs.circuitpython.org/en/latest/shared-bindings/pulseio/index.html) might also be relevant and similarly implemented (at a glance).
PWM is done via
pwmio.PWMOutclass.The
pulseiomodule might also be relevant and similarly implemented (at a glance).