View Single Post
  #1   Spotlight this post!  
Unread 16-02-2012, 01:58
Luiz12 Luiz12 is offline
Registered User
FRC #4210
 
Join Date: Jan 2012
Location: South Gate
Posts: 45
Luiz12 is an unknown quantity at this point
Running loop with button..

Basically I want to press a button, let go, and I want the motors to run continuously until the limit switch is pressed and then roll back for 3.9 sec then stop. I gotten to that point as shown in the code below, but I haven't gotten to the point on the code below. I can run everything while holding the button but I just want to press and let go. This goes in my teleop.vi


When the center Case structure is true, its just a simple set output motor vi with a value of 1.