Arduino UNO plus Adafruit motor shield to run modified servo or DC

It does look like you just removed the end-stops. You have to do something to the pot too, or replace it with fixed resistors, I believe.