View Single Post
  #3   Spotlight this post!  
Unread 06-03-2008, 15:17
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Connecting custom sensor to RC dig I/O

Yes... As an update on this we put together a gadget that responds to visibile light...uh in light of the IR problems being reported We tested it per Al's suggestion and it works great in bright ambient light using code similar to what billbo posted although polling the analog port directly gave strange values. We used (for testing) Get_analog_port (port#) from some OLD code that either originated from the default code or Kevin Watson's code.
Reply With Quote