Thread
:
Single Click On/Off Using the Trigger in EasyC
View Single Post
#
9
31-05-2007, 00:58
John Gutmann
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
Re: Single Click On/Off Using the Trigger in EasyC
When I need to do something like this I write the program so that it waits until the first cycle after I let go of the button to toggle it. This way it is like:
Code:
if (pressed) { if (not pressed) toggle; }
John Gutmann
View Public Profile
Find all posts by John Gutmann
Find CD-Media Photos by John Gutmann
Find CD-Media Papers by John Gutmann