View Single Post
  #1   Spotlight this post!  
Unread 07-03-2003, 23:03
GrahamS314's Avatar
GrahamS314 GrahamS314 is offline
Registered User
FRC #0314 (Megatron Oracles)
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2002
Location: Flint, MI
Posts: 8
GrahamS314 is an unknown quantity at this point
Send a message via AIM to GrahamS314
Question Programming Optical Encoders

We ordered some Digi-Key optical encoders for use on our robot's stacking mechanism (for automatic positions). However, we have run into a snag in programming these little buggers. We have hooked the power up to the +5V for Potentiometers on the Analog Inputs, and the ground wire to this port as well. Then, we hooked Inputs A and B onto digital inputs 15 and 16, respectively. Our problem is that all the readings we get on a debug are zeros. Any ideas? Thanks.