View Single Post
  #1   Spotlight this post!  
Unread 19-01-2009, 10:26
petet4 petet4 is offline
Registered User
AKA: Pete Thomas
FRC #0706 (Cyberhawks)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Waukesha, WI.
Posts: 18
petet4 is on a distinguished road
Inputs for the Encoder

Hi all, I have a quick question and if it is documented somewhere I have not been able to find it.

The question is can any of the digital inputs be used for reading the encoder? I have a USdigital encoder connected to digital inputs 10 & 11 in slot 4 and use the GetEncoder() function and it would read 0 or 1 while turning the encoder. The direction would work if I recall bit no increment or decrement of counts. Both encoder outputs were verified with a scope. After a bit of pondering I changed the wiring to use digital inputs 8 & 9 and then all works.

We are using Wind River with the C function call.

In summary are there specific inputs that are required to be used for various sensors, i.e. encoders?

Thanks,
-pete