bertmelis / esp32WS2811

Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral
MIT License
35 stars 5 forks source link

Add function #2

Closed JoergSH closed 1 year ago

JoergSH commented 1 year ago

Hi, nice lib. Could You add a function to change only R or G or B.

somthing like .setR(n,255);

regards Joerg

bertmelis commented 1 year ago

Sure.

Meanwhile, you can workaround using get and set.

bertmelis commented 1 year ago

Like #3 ?

JoergSH commented 1 year ago

Yeah I like it!!!! works great! I use the ws2811 as a cheap led driver for "single" LEDs thanks a lot

bertmelis commented 1 year ago

Happy to help.