|
Re: quick question: TIMERS
i got my ded reckoning worked out and i have a switch wired up to switch between the two modes how would i do that using case statements?
it should be something like
case1 if (rc_dig_in_10=1)
{auton 1}
case2 else(rc_dig_in10=0)
{auton 2}
i read about them but how would they be used to work with a digital input from the rc
__________________
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
|