marcopredict
Posts: 1
Joined: Wed Sep 19, 2018 7:18 am

How to control 1 WS2812B Led

Wed Sep 19, 2018 7:26 am

Hi everyone, I am a beginner with raspberry..I am trying to control one WS2812B led with my main.c by using the rpi_ws281x library (https://github.com/jgarff/rpi_ws281x).

I need to set one color at a time (for example, now red, then green, etc), not RGB rainbow or patterns like that.

Please, could you suggest me how to do that?

I already tried to search for some code to do that, but I couldn't find anything.

Thanks in advance!

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 5 guests