How do I program Addressable LEDs according to FRC Docs?

I am very new to FRC and was having trouble with my task of programming LED strips for a robot. It has to be the same way described in the First Robotics Competition Documentation.

I would highly suggest starting by checking out this great document from WPILib:

If you have a link to your code, and/or more details about what’s going wrong, someone may be able to provide additional help. :slight_smile:

Thank you for responding. I have access to that document but i still just don’t understand it very well, this is my first year programing so i still haven’t been able to get a good understanding of it. My code is empty right now so i would be doing it on an empty slate and then transferring it to my programming leads code. I would like to get simpler guide on how to program this. Thank you

If you create a new example project, AddressableLED is one of the available example projects. That will give you a complete working example. The code is essentially what’s shown in the documentation page: allwpilib/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/addressableled/Robot.java at main · wpilibsuite/allwpilib · GitHub

3 Likes

Thank you so much!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.