View Single Post
  #2   Spotlight this post!  
Unread 02-02-2013, 08:21
Belovan Belovan is offline
Registered User
AKA: Alex Angelillo
FRC #0195 (Cyber Knights)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: United States
Posts: 6
Belovan is an unknown quantity at this point
Re: Toggle Motor Using Button

You could use a global that turns on/off with each press of the button, then check to see if the global is true/false when the button is pressed and then start or stop the motors depending on that.
Reply With Quote