PWM on the Keybow 2040


Going by the product description:

Per key RGB LEDs driven by an IS31FL3731 PWM LED matrix driver

I’m guessing that I can use PWM on the Keybow 2040 to dim my LEDs. Is this possible?

Many thanks,


OK, I think I need to start here:

For any who follow in my path, it is super simple to change the brightness.

# Set first key to dim red
pmk.keys[0].set_led(10, 0, 0)

# Set first key to bright red
pmk.keys[0].set_led(255, 0, 0)

Happy hacking!