Supprot for WS2812 addressable LED
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 18
- Joined: 08 Oct 2015, 18:02
Supprot for WS2812 addressable LED
How about add a WS2812 addressable LED support in the ESP Easy ?
Re: Supprot for WS2812 addressable LED
I long time a go I have use the C based code from https://github.com/cnlohr/ws2812esp8266 to drive a WS2812 ledstrip.
I used it to create a led strip with different colors but static, it is hard to describe.
With UDP I send a string of codes.
The string is an array of a structure.
The structure starts with the color R,G,B or W.
the second parts is the number of the starting LED for this color 0-300.
the third part is the number of the last LED with this color 0-300.
the fourth part is the starting value of the color 0-255.
the fifth part is the incremend/decrement of the value -127 +127.
With this string of codes it is for example possible to create a static rainbow.
I have been looking to make a nice webbased frontend to create this string of codes.
Until now I don't have it, maybe it is possible to program it in the ESPEasy project
I used it to create a led strip with different colors but static, it is hard to describe.
With UDP I send a string of codes.
The string is an array of a structure.
The structure starts with the color R,G,B or W.
the second parts is the number of the starting LED for this color 0-300.
the third part is the number of the last LED with this color 0-300.
the fourth part is the starting value of the color 0-255.
the fifth part is the incremend/decrement of the value -127 +127.
With this string of codes it is for example possible to create a static rainbow.
I have been looking to make a nice webbased frontend to create this string of codes.
Until now I don't have it, maybe it is possible to program it in the ESPEasy project

Who is online
Users browsing this forum: No registered users and 18 guests