View Single Post
  #3   Spotlight this post!  
Unread 15-01-2008, 16:34
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: How to wire the IR on the RC?

Hi there!

You should connect the IR board's output into the Digital I/O, and in your robot code, have a section for interpreting the signal, maybe something like what is shown below if your output is connected to Digital I/O #1.

Code:
if (rc_dig_in01)
{
    printf("Button one is pressed on IR\r\n");
}

Good luck