Change controller lighting based on robot state

I have a wired PDP Afterglow controller and I want to be able to change the color of the LEDs from the robot code.

This will require 2 parts:

  • Changing the colors from the computer
  • Communicating from the robot code to the computer to tell it to change.

The only way I know of to change the color of the controller is through the PDP Controller Hub app on the Microsoft store, but I don’t know how to automate the colors based on signals from the robot.

Not trying to be mean or anything, but can I ask why? If you are looking down at a controller mid match, you are probably doing something wrong. Ideally, as a driver, you never have to take your eyes off the robot. This is why you see teams putting led strips on their robot to communicate robot status, as opposed to changing lights on a controller.