|
-
Aug 28th, 2007, 02:28 AM
#1
Thread Starter
New Member
Help: How to control DC Motor using VB Expres 2005
Hello,
Im new to VB 2005 and I would like to know how to make the dc motor accelerate when I press the "a" key and decelerate when I press the "d" key and spacebar to make it to stop. Lets say for example I have 3 speed mode(1,2, and 3), if I press the "a" key twice it will go to number 3 speed and if I press the "d" key one, it will go to number 2 speed, pressing "d" again will go back to 1 speed and finally, pressing spacebar will stop the motor. Im using SCR as controller and pin 2-9 of the parallel port to interface with pc.
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|