Hi all, I have a simple question that I can't find the solution.
I am trying to replace the delay() for something else, but it does not work:
Instead of:
fastled.show()
delay(DELAY_MS)
I try:
if time_now > last_time + DELAY_MS
{fastled.show(); last_time = time_now}
So both codes are executing fastled.show() at the same time, but the later do not show the palettes correct.
Any idea why this is happening?