ArduinoMotionStairLights icon indicating copy to clipboard operation
ArduinoMotionStairLights copied to clipboard

What variable to adjust to make the strip light up faster or slower?

Open sparker0 opened this issue 3 years ago • 1 comments

Hello. We are installing this in our stairwell, and some of our family members walk faster than the lights turn on. What variable can I adjust to speed up the lighting up of the strip? Thank you so much! VERY COOL PROJECT!

sparker0 avatar Jul 17 '21 01:07 sparker0

Each effect animation refreshes in different stages and at different rates. Here are some variables you can try changing for the "stage_grow" part of the loops.

Line 225: effectInterval=5; // make "5" smaller OR Line 247: gBright = qadd8(gBright, 4); // make "4" bigger

Line 394: effectInterval = 27; // make "27" smaller OR Line 397: if ( i <= 10 ){ // make "10" smaller

dmonty2 avatar Jul 17 '21 04:07 dmonty2