Thread: A boolean delay
View Single Post
  #1   Spotlight this post!  
Unread 18-02-2009, 18:52
m3rc1l3ss m3rc1l3ss is offline
Registered User
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Missouri
Posts: 14
m3rc1l3ss is an unknown quantity at this point
A boolean delay

I have a segment of solenoid control code, with a toggle to switch a case function so I can deploy and undeploy a pneumatic with 2 separate clicks.
The problem I am having, is that if I hold down the trigger, I get a rapid switching between deploy and undeploy. Is there some way that I can delay it so it will not accept a boolean until a set amount of time passes, or is it likely to be a problem with the trigger system I have?

Just a addon, I am currently using s0crates' toggle.vi that he posted here http://www.chiefdelphi.com/forums/sh...ad.php?t=74120
Reply With Quote