esp8266-fastled-webserver icon indicating copy to clipboard operation
esp8266-fastled-webserver copied to clipboard

Two pins plus two strips on the same webserver?

Open terrag42 opened this issue 5 years ago • 4 comments

Hello, I love using this webserver! I have a project that has an outline with 58 LEDs, and the interior part with 100 LEDs. Would it be possible to get two pins and two strips on the same webserver? If it would be too tricky to get them side by side, then arranged one after the other with a scroll bar would be ok too. two pin webserver

terrag42 avatar Jul 08 '19 19:07 terrag42

I practiced duplicating the demoreel100 code to be compatible with my 2-pin project. I ended up creating duplicate variables and some duplicate for() loops. Now each strip plays the same pattern, but with a different NUM_LEDS. Hopefully I can use this webserver to get each strip playing a different pattern.

terrag42 avatar Jul 08 '19 19:07 terrag42

Any chance I can have a copy of this, I am trying to do the same to have led blinkers, brake lights and patterns on both sides of my motorcycle.

kevinl7778 avatar Mar 05 '21 17:03 kevinl7778

kevinl7778, try to use left_side_leds part and right_side_leds part with same data-out pin. One pin for two strips and strips will show same animations

qawsed55 avatar Mar 17 '21 08:03 qawsed55

Thanks,

I found the topic of "mirroring two strips" and it works for now but my goal is independent control to allow a motorcycle to have them as additional blinkers, brake lights and light show.

Best, Kevin

On Wed, Mar 17, 2021, 4:27 AM qawsed55 @.***> wrote:

kevinl7778, try to use left_side_leds part and right_side_leds part with same data-out pin. One pin for two strips and strips will show same animations

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jasoncoon/esp8266-fastled-webserver/issues/140#issuecomment-800894111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM2NBMOXOJ5FGQL565QSDELTEBRVNANCNFSM4H66XLJA .

kevinl7778 avatar Mar 17 '21 12:03 kevinl7778