maybe have a variable in the subLEDs class that stores the last desired animation? It would get a little weird since you set the LEDs to both animations and colors (int[]) but that would probably be the start of it.
You'd effectively need to turn the LEDs into a state machine
maybe have a variable in the subLEDs class that stores the last desired animation? It would get a little weird since you set the LEDs to both animations and colors (int[]) but that would probably be the start of it. You'd effectively need to turn the LEDs into a state machine
_Originally posted by @ACat701 in https://github.com/FRCTeam3255/2024_Robot_Code/pull/222#discussion_r1519130957_