Addressable LED Control on the V5

7 Likes

How exactly do you code this with PROS or VEXcode, without Sylib?
I don’t like downloading things, and although I’m not on a team yet this information might come in handy later.

1 Like

https://sylvie.fyi/sylib/docs

4 Likes

…I said without Sylib.

1 Like

oop, i failed to read, sorry.

https://pros.cs.purdue.edu/v5/api/cpp/adi.html#pros-adiled

7 Likes

Is the function overloaded with operator[] called on every led (by feeding the led index into the function and feeding the return value into the led) every time update is called? Is this how you change multiple leds at once? Or am I getting this wrong? I feel like I am.
Also ty.

1 Like

I’ve only used the PROS addrled API once, and that was when I was helping write it, and I haven’t touched it since. I don’t think anyone else has either. I don’t know.

6 Likes

Ok ty anyways.

2 Likes