|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
||||
|
||||
|
Re: Single Click On/Off Using the Trigger in EasyC
I dunno if this is causing the problem, but I'd put in a little time delay before it can switch states, because, as coded, if you held the trigger down too long the system would 'flicker' between the two states.
I have no experience with WPIlib, so I do not know if this could be the issue, but you don't set the relay to zero in your second if statement, so I would think it might just stay at that value set earlier. Again, I have no experience with WPIlib, so I don't know if this could be the issue. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multiple autonomous modes using easyc | cerberus170 | Programming | 3 | 20-02-2007 15:01 |
| Using printf() as UserCode in EasyC 2.0 | tacman1123 | Programming | 2 | 31-05-2006 10:01 |
| Using SMC Single Selenoid Valve from last year? | Sachiel7 | Pneumatics | 3 | 20-01-2005 21:31 |
| Is Anyone Using Motors to Hoist themselves off the platform on the bar? | xxlshortys | Motors | 36 | 25-02-2004 01:06 |
| using single solenoid like a double | SteveO | Programming | 14 | 02-02-2004 22:51 |