How would I make a knob/slider able to change, lets say the pulse width of a square wave, however instead of setting it from 0-100 or whatever, they were set values? So it could be set to 50, then 38, 25, 12, 6, without being able to go in between? How would this be accomplished?