I have a question about EVERY_N_MILLIS_I.

I have a question about EVERY_N_MILLIS_I.
Does it support dynamic durations?

This is my line of code where I use an integer variable to control the time between each run of the loop.

EVERY_N_MILLIS_I(ColorRotation, speed_temp) {

My default value is 300ms.

But no matter to what value gets speed_temp during rutime it still executes every 300ms.

Am I doing something wrong or does this function not work with dynamic values?

And I found the solution just a few seconds after I posted… :slight_smile: