Supprot for WS2812 addressable LED

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
VasilijHCN
Normal user
Posts: 18
Joined: 08 Oct 2015, 18:02

Supprot for WS2812 addressable LED

#1 Post by VasilijHCN » 20 Oct 2015, 07:23

How about add a WS2812 addressable LED support in the ESP Easy ?

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: Supprot for WS2812 addressable LED

#2 Post by Ger » 20 Oct 2015, 18:20

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 ;)
user_main.zip
(2.36 KiB) Downloaded 363 times

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 39 guests