Go to Post Several West Coast teams have attended IRI. I don't know of a single team from east of the Rockies that has attended ANY West Coast off-season. So who is afraid of who? - ChrisH [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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-01-2013, 12:29
FTC6389's Avatar
FTC6389 FTC6389 is offline
FTC Team #6389
FTC #6389 (The Flaming Unicorns)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2009
Location: Eden Prairie Minnestoa
Posts: 13
FTC6389 is an unknown quantity at this point
Re: [FTC]: IR Code With Two Sensors

Think about using logical "and" and "or" in your "if" statements. I could do it for you and post the solution, but figuring it out yourself will help you learn. Here is an example...

if(Condition1 && Condition2) // "&&" = "and"
{
DoSomething();
}
else
if(Condition3 || Condition4) // "||" = "or"
{
DoSomethingElse();
}
else
{
DoDefaultAction();
}



-----
FTC Team #6389
Reply With Quote
 


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


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

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