Go to Post Heck, I gave several [E-Saver Lightbulbs] away as Christmas presents... - DonRotolo [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
  #2   Spotlight this post!  
Unread 30-05-2007, 20:52
Brad Voracek Brad Voracek is offline
.999~=1
FRC #0399 (Eagle Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Lancaster, CA (SoCal)
Posts: 328
Brad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of light
Send a message via AIM to Brad Voracek
Re: Single Click On/Off Using the Trigger in EasyC

I've never written C where && means both values are equal to the value on the right of the ==. I've always done it if (p1_sw_trig == 0 && n == 0)...

Maybe try that?
__________________
.999~ (Repeating) is equal to one (1).


Team 399 - Eagle Robotics
 


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 11:52.

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