View Single Post
  #4   Spotlight this post!  
Unread 11-02-2008, 14:22
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Need help with IR as an Input

Quote:
Originally Posted by AdmiralAllen View Post
...now what?
Now have your program read the values on the digital inputs and take appropriate action when exactly one of them is active. Assuming your power to the board is coming from a 20A breaker on the main black breaker panel, it sounds like the wiring you described is correct.

(If you haven't done so already, first follow the directions in the FIRST IR User Guide to train it to recognize commands from a remote control.)