View Single Post
  #6   Spotlight this post!  
Unread 08-04-2010, 21:18
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,112
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: INFRARED SENSORS

Quote:
Originally Posted by krudeboy51 View Post
one more question, what values should i set for the sensor?
It will return a boolean value. Typically true means the signal on the DIO pin is a high voltage (5v) and false means it is a low voltage (0v). Since there is a pullup resistor on the input, an open circuit will read true and a switch closure to ground will read false.

I don't really understand the rest of your question, but the documentation should answer anything you need to know.
Reply With Quote