REED SWITCH TROUBLE IN TELE-OP
Our reed switch isn't working the way we want it to, and we were wondering was there anything wrong in the code ? We have a water wheel mechanism on our robot that holds the game pieces until we press the button and it moves forward, we want everytime that we press the button the water wheel which is hooked to a speed controller..moves forward until the reed switch is triggered and then to stop the motor..and with us pressing the button again, the same tasks happens.
Thank you very much.
Here is our code in the Periodic Tasks.vi:
|