Go to Post To the ball knockers, I salute you. - Brandon Holley [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 30-05-2007, 20:53
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi