Thread
:
Toggle Motor Using Button
View Single Post
#
2
02-02-2013, 08:21
Belovan
Registered User
AKA: Alex Angelillo
FRC #0195 (Cyber Knights)
Team Role: Programmer
Join Date: Jan 2013
Rookie Year: 2011
Location: United States
Posts: 6
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.
Belovan
View Public Profile
Find all posts by Belovan
Find CD-Media Photos by Belovan
Find CD-Media Papers by Belovan