View Single Post
  #2   Spotlight this post!  
Unread 02-02-2008, 14:12
jacobhurwitz jacobhurwitz is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryland
Posts: 45
jacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura about
Re: IR Remote Programming

Quote:
Originally Posted by Philz20 View Post
I'm trying to clarify something. During hybrid mode, we are able to use the IR remote by RoboCoach right? If so, do I need to program my autonomous to recognize IR commands, or does having it in the user_routines.c file the correct way how to do it?
After you train the IR board (see the manual for details), it's simple. The board uses four digital inputs, and each input is 1 if it's respective trained signal is being received, 0 otherwise.

I forget the exact digital input numbers, though, and I don't have our code right now. (It's in the hallway being tested.)

EDIT: Apparently, the digital input numbers are just the four digital inputs into which you plug the IR board.

Last edited by jacobhurwitz : 02-02-2008 at 14:16. Reason: talked to another programmer