Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

rotation of stepper motor in AT89C51

Status
Not open for further replies.

pratti

Member level 3
Joined
Jun 15, 2013
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
471
I want to rotate stepper motor and count the step it has completed and check the position according to step like
while(count=0 0r count<=15)
position =1;
while(count=16 0r count<=30)
position=2;
{
if position=1;
clock();
if position =2;
clock();
how to use counter for that?
In clock function or above??
Plz give idea for it urgently
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top