One other way to implement a fast/slow inc/dec is to use a timer to set the delay, then run the timeout shorter the longer the button is held down. Reset the timer to the long delay as soon as the button is released. Saves you the complexity of inc/dec by large numbers, but adds complexity in the timing system.
↧