FRCTeam3255 / 2024_Robot_Code

Other
4 stars 0 forks source link

Improve LED code by not constantly sending commands #233

Open TaylerUva opened 6 months ago

TaylerUva commented 6 months ago

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_

BrodyKarr commented 6 months ago

how would i start this?