Thread: IR help
View Single Post
  #2   Spotlight this post!  
Unread 29-01-2008, 20:40
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
Re: IR help

Quote:
Originally Posted by program1 View Post
yea, im using MPLab
ok so if you just have


if (rc_dig_in01 == 1)
{
run mottors == XXX
}

then just

if(rc_dig_in02 == 1)
{
run motors == XXX
}

and repeat that for all 4 commands

you just need to tell it was motors to run when you hold the button down...



PM me if you need more help