|
Re: quick question: TIMERS
Quote:
|
Originally Posted by Mark McLeod
You don't need a case statement if you only have two choices.
Code:
if (rc_dig_in_10 == 1) //or just "if (rc_dig_in_10)"
{auton 1}
else
{auton2}
|
will that work if my autonmode begins in if statements though ? i tried something along those lines and it didnt seem to work...
__________________
If saftey is first and i put FIRST ahead of everything, then i must be the safest guy in the world.
Team 521 Alumni -- Team 1740 Mentor-- Go Go 1740!
Sometimes I think I've been doing this too long and other times I think I haven't done this enough... but all the times I'm sure I'm crazy Photonics, It's Your Future
|