|
Re: How to wire the IR on the RC?
That's what you usually see when you use a separate battery to power the IR board. With two different batteries the grounds are not common and the signal pins stay high.
You could get around it with a check of all the pins, such as:
Code:
if (rc_dig_in13 == 0 || rc_dig_in14 == 0 || rc_dig_in15 == 0 || rc_dig_in16 == 0)
{
if (rc_dig_in13 == 1)
{
//Drive away
}
}
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 16-01-2008 at 16:34.
|