May someone explain me “FastLED.delay(10)”?
Is this “non-blocking” and what’s the difference to…
EVERY_N_MILLISECONDS(10)
{
FastLED.show()
}
Which one should be prefered, if the sketch should do other things too?
Greetz Chris
http://FastLED.de
May someone explain me “FastLED.delay(10)”?
Is this “non-blocking” and what’s the difference to…
EVERY_N_MILLISECONDS(10)
{
FastLED.show()
}
Which one should be prefered, if the sketch should do other things too?
Greetz Chris
http://FastLED.de
Is the link to the shop related to your question?
No. I don’t know, why this f__king ad appeared!
Greetz Chris
FastLED.delay is blocking, but keeps the temporal dithering running. EVERY_N_MILLISECONDS is not blocking. It just calls/executes code periodically. Forget about delays. You want time controlled code, no delay controlled one.
Side note: This is why G+ is bad. It sees FastLED.delay() as … http://fastled.de … and brings up a random foreign website. I guess that’s just something we’ll have to put up with.