I want to use a potentiometer to control a continuous rotation servo, but heres the catch: I want it to only turn at the ends of my potentiometer (o and 1023)
Basically, when its at 0, I want the servo to trun one way, when its at 1023, I want it to turn a different way. Everything else should be the same as neutral - where the servo doesn't move.
Ive been trying to modify the servo knob example, but cant figure it out. Help?
So you don't need a potentiometer then - you just need a knob that closes a switch when twisted one way, and closes a 2nd switch when turned the other way.
I guess using analogRead() and looking for <=5 and >=1018 for a little leeway at each end would work too.