How to position control a dc motor with a pot?