View Single Post
  #3   Spotlight this post!  
Unread 26-10-2006, 03:54
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Code for Optical Encoders

Quote:
Originally Posted by Ctrl Alt Delete
I've looked, but I haven't found any code for the optical shaft encoders. Anyone know of any resources for it? (Using MPLAB)
WPILib also has built-in support for optical encoders (either quadrature or single-line). You just call a function to start it and another to get the value whenever you want it. You can get WPILib here.. WPILIb can be used with MPLab or eclipse and has a complete set of functions to support all the FIRST supplied sensors (including the CMU Camera) as well as a number of others.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote