How do I control an RGB LED matrix with the Navigator's RGB header pins in Python

Hi, I was hoping to use the onboard RGB header pins to control an RGB LED matrix to indicate the current mode the BlueROV2 is in, but I can’t seem to get it working or find sufficient documentation for it.

The matrix I’m using is this 4x4 Glowbit Matrix, and I’ve got it working with PWM on a different Raspberry Pi Pico W. I’ve also successfully ran Python scripts onboard the ROV’s Raspberry Pi.

Just hoping someone can point me in the right direction. Thanks!