View Single Post
  #1   Spotlight this post!  
Unread 21-01-2017, 10:54
urg8rb8 urg8rb8 is offline
Registered User
FRC #0108
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Plantation
Posts: 23
urg8rb8 is an unknown quantity at this point
How to interface with absolute encoder using WPILib?

I am using the following absolute encoder:

http://www.mouser.com/ds/2/54/EMS22A-50229.pdf

I has one digital out pin that spits out the position (0-1024) of the encoder. I have used two-channel encoders in the past with no issues but trying to figure out how to use the WPILib classes to read the position of this new absolute encoder. For some reason I'm having troubling finding sample code.

Any help would be greatly appreciated!
Reply With Quote