Thread: Code check ASAP
View Single Post
  #1   Spotlight this post!  
Unread 15-02-2011, 10:09
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Code check ASAP

With that you would have to hold it.

During every iteration of teleop, your code would set the motor to .4, then if the button was pressed, complete the true case. If the button is not pressed during any one iteration of teleop, the false case will be executed.
__________________
Team 2052- KnightKrawler
Mentor and volunteer
Reply With Quote