Sylib LEDs not working

We have recently put underglow on our robot. As the programmer I’ve decided to use the Sylib library, but the lights never initialize, and the code doesn’t continue until they do. We don’t think it’s a hardware issue.
auto myLights = sylib::Addrled(22, 3, 55);
The LEDs are plugged into ADI port ‘C’, and are 55 long. Is this a hardware problem, or am I initializing it wrong?

Is the V5 updated to 1.1.2 ?

Why ?

Have you read this ?

1 Like

We used an arudino with the Neopixel lights and they worked fine. The builder who made them also repeated it twice and maked sure he did it correctly according to the Sylib LED docs Sylib: WS2812B Addressable LED Control

I just read that, and I didn’t really understand it :sweat_smile:. I sent the post to the builder who’s working on this, because he might know what to do with them.

I’m using PROS in VSCode. I have PROS Kernel 3.8.0

Ok, but is the V5 vexos firmware fully updated to 1.1.2 ?

1 Like

How do I check that?

This is the only VEX related extension I have. In the changelog tab I can see a version [0.1.2] but that was in 2021-11-18. The most update in the changelog was [0.6.0].

From this post: Required V5 VEXos for VEX Worlds 2022

Yes, I have VEXos 1.1.2

We have tried switching the ADI port. As far as we can tell the initialization doesn’t finish running, maybe because the LEDs are set up wrong? In the code I have them in Smart Port 22 because the docs said that 22 is interpreted as no Smart Port. From Arduino testing; the red wire is data, white is 5V, and black is ground. Is there anything else we can do to try and fix it?

According to Sylvie’s led guide, this is wrong. Addressable LED Control on the V5 | sy1vi3
Red is 5v, white is data, and black is ground.
wiring_diagram

4 Likes