|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#11
|
||||
|
||||
|
Re: Single Click On/Off Using the Trigger in EasyC
This how we did a click on click off
Code:
if(CLAW_BUTTON == 1 && claw_toggle_state == 0) // Code to handle toggle
{
CLAW_OPEN = !CLAW_OPEN;
CLAW_CLOSED = !CLAW_CLOSED;
}
claw_toggle_state = CLAW_BUTTON;
|
| 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 |