rules: loop ('while' or 'for') possible?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

rules: loop ('while' or 'for') possible?

#1 Post by data » 17 Dec 2016, 23:53

I'd like to generate some simple animations with a neopixel led ring such as this one http://s.click.aliexpress.com/e/eYjqJmE
with a ruleset. Is there such a thing as a FOR or WHILE instruction available? I thought of using the according plugin from the playground:
https://github.com/ESP8266nu/ESPEasyPlu ... oPixel.ino
Last edited by data on 18 Dec 2016, 14:51, edited 1 time in total.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: rules: while or for possible?

#2 Post by papperone » 18 Dec 2016, 09:32

the animaton link does not work, it reports "page nto found"; can you provide a working link in order to check?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: rules: while or for possible?

#3 Post by data » 18 Dec 2016, 11:08

It's not an animation behind that link, its just the ws2812b LED-ring I bought on Aliexpress: http://s.click.aliexpress.com/e/EEYzzVf

See e.g. https://www.youtube.com/watch?v=CrKjIbWI_AI

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: rules: loop ('while' or 'for') possible?

#4 Post by papperone » 18 Dec 2016, 15:48

Sorry I misunderstood and coudl not open the previous link so I assumed it showed a sample of animation... my apologize!

About your request, there's no way to obtain it with plain ESPEasy but you shoudl then write your own plugin; you can take a very good example of the "candle" plugin which has different animation available using WS2812b leds
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 8 guests