View Single Post
  #6   Spotlight this post!  
Unread 16-02-2010, 16:28
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Motor controling

Quote:
Originally Posted by pm 2389 View Post
when we press one buton we want it to run our wench, it only needs to run one way . we also need a program to run a motor on a arm that moves back and forth.
While the button is pressed the motor will spin.
Release the button the motor will stop

Need a little more info about a arm that moves back and forth.
Think it through and write down the actions.
Like when I press button X the arm does A
When I release button X the arm does B
When I press button Y the arm does C
When I release button Y the arm does D
When I press both X and Y it does ?????
Once you write out the steps you should find it easier to code.
Attached Files
File Type: vi OneButtonMotorControl.vi (9.8 KB, 17 views)
__________________
Omar
Reply With Quote