Quote:
Originally Posted by pm 2389
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.