I am building a a circuit using a Micro Gear motor with a 12 CPR encoder. I am trying to control this motor using two buttons ( one for counter clockwise and one for clockwise). What I am trying to accomplish is a circuit that will allow me to control how far the motor rotates under one button press ( for example with one button press I get a 3 degree clockwise turn and pressing the other button would get me a 3 degree counter clockwise turn)
Any help is appreciated!!!!!