Gunner
March 13, 2018, 8:44pm
5
@AdrianStivalet I have a small example here of using a slider to variably adjust the timeout of an action. Perhaps you can extrapolate from it to do what you want.
#4 Slow & Variable Servo Sweep Without ‘delay()’ (Yay Timers!)
This is one I dug out of my archive and tweaked a bit to make it variable and stable.
I also have another method of varing a timer, shown in a later post: 20 - Easy Variable Timer
This example will allow you to control the sweep speed of a servo motor… normally they run at one speed, from where they are to where you want them to go. Traditional methods to slow that down is move the servo in incremental steps with a delay between…