i am doing my project in microcontroller 8051 to run motor as follows
i want to keep 4 buttons which are
BUTTON 1. UP
BUTTON 2. DOWN
BUTTON 3. REPEAT
BUTTON 4. RESET
if i press button 1(up) motor should run forward direction and then if pressed button 2(down) motor should run reverse direction.while i press
button 3(repeat) it must run the motor with memory of already rotated angle.while i press up and down.
i want the program for this.i wrote for forward and reverse in machine language dont know how to set for memory and all.please help me.if cant in 8051,tell me in some other microcontroller
i want to keep 4 buttons which are
BUTTON 1. UP
BUTTON 2. DOWN
BUTTON 3. REPEAT
BUTTON 4. RESET
if i press button 1(up) motor should run forward direction and then if pressed button 2(down) motor should run reverse direction.while i press
button 3(repeat) it must run the motor with memory of already rotated angle.while i press up and down.
i want the program for this.i wrote for forward and reverse in machine language dont know how to set for memory and all.please help me.if cant in 8051,tell me in some other microcontroller