How to get the specific value of a LED using the roboRIO

I am programming the LED lights using the roboRIO, but we originally used arduino and used the function strip.getPixelColor(pixelNum); Does the wipilib library have a function like this?

From looking through the AddressableLED and AddressableLEDBuffer classes there is no easy way to get back the information once given to the objects. What you’d probably need to do is store the data separately in an array or other data structure if you want to be able to reference and change it relative to the current values later.

Yah. I figured out how to make the patterns without it. I literally spend all day working on this, but I finally got it.

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