Page 1 of 1

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

Posted: 17 Dec 2016, 23:53
by data
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

Re: rules: while or for possible?

Posted: 18 Dec 2016, 09:32
by papperone
the animaton link does not work, it reports "page nto found"; can you provide a working link in order to check?

Re: rules: while or for possible?

Posted: 18 Dec 2016, 11:08
by data
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

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

Posted: 18 Dec 2016, 15:48
by papperone
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