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.

stepper motor controller code using C language

Status
Not open for further replies.

yazid

Junior Member level 1
Joined
Mar 6, 2007
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
johor,MALAYSIA
Activity points
1,367
hi..i have a coding to control speed for stepper motor using assemble languange..but now..i want a coding by C language to control the speed of the stepper motor by vary the frequency...
 

pnnavigator0915

Member level 3
Joined
Feb 4, 2006
Messages
62
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,900
Use the parallel port.
Write a program to send the bytes to parallel port.
Now if you want to vary the frequency.. You can set the output bytes accordingly.
Set a for loop and may be a user kbhit break or escape from the loop.

Get the frequency input from user. You can set the corresponding delay using the bios functions.

Thanks.
Regards.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top