This is our team’s first year implementing LEDs on our robot for driver/operator feedback (shooter aligned, shooter wheels spun up). We are using the AddressableLED class and have been able to get simple patterns working (solid colours, strobe) but have been unable to create complex patterns (chase, cylon etc).
One of our main issues is that we are not sure where to place the code to loop through the code to set the LED Buffer and ultimately set the LEDs. We currently have an LED subsystem that is responsible for setting the patterns but when we try to implement a while loop in those methods, it crashes the code.
If anyone has been successful in implementing these complex patterns and doesn’t mind posting a link to the code, it would be greatly appreciated!