View Single Post
  #1   Spotlight this post!  
Unread 06-02-2010, 18:25
michael1991j michael1991j is offline
Registered User
FRC #3139
 
Join Date: Feb 2010
Location: oxford alabama
Posts: 6
michael1991j is an unknown quantity at this point
wiring and programing our optical encoders

hello
we are trying to set up our us first optical encoders. unfortunately there is nothing in the manual that I could find on how to do this task. now I have gone though the chief Delphi forum's and found a article that explained how to set up the encoders. from what it said is that I had to hook up our encoder by getting a two three pin cable and wire them like this

ground
power
signal a

then get another cable and put signal b on the other cable on the signal slot


and then plug them into our digital side cars
now if I have this set up right would anybody know happen to know how I would program this in c++. just to have it output the angle.

thank you