Can someone help me figure out how to make the speed of this effect adjustable, I attached a link to my code, everything works, but my effect Red White Green Loop is not working the way I would like.
I have several effects, and use my “animation speed” to adjust the speed of the effect without having to change the code, its just a slider i can adjust anytime, the effect i am having issues with will not adjust unless i tweak the “delay” I want to be able to adjust it without editing the sketch.
Lines 707-754 in the Github Link are the effect i am having issues with.
The effects above it have similar code, are are working perfectly. Thanks for taking a look guys