Help for modify RGB widget

Hi everyone
finally someone explained well how the RGB widget works

RGB Light Control for Mobile: Widget Functionality and Code Examples

Hi try and work well but now I would like to control a led strip (fasteled library) that does not have three pins to control RGB but only one. Can someone help me modify the code?

Thanks

kind regards

I’d say that the first step is for you to explain much more about the LED strip that you’re using.

Pete.

Hi Pete

I use a BTF-LIGHTING WS2811 is a strip led with three pins 12v, Din, GND

King Regards

look for ‘WS2811 LEDS +tutorial’, there is plenty of info and examples on the internet.

1 Like

Hi pierredebuysscher

I know how to control a led strip, I want to modify this code

RGB Light Control for Mobile: Widget Functionality and Code Examples

that works very well for a non-digital led to use the RGB widget that I think is really very nice.
I just need to modify it for a single digital LED

King Regards