View Single Post
  #1   Spotlight this post!  
Unread 12-03-2012, 15:55
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
Exclamation 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:
Attached Thumbnails
Click image for larger version

Name:	Reed Switch Code.jpg
Views:	47
Size:	74.2 KB
ID:	12292  
Reply With Quote