Quote:
|
Originally Posted by John Wanninger
Thanks for posting the info Foobert.
I was surprized and perhaps a bit disappointed to see that the Vex User Manual addendum preview for the upcoming Optical Encoder Sensor instructs "You’ll need to plug your shaft encoder into any port in the Analog/Digital bank on the Vex Microcontroller."
I'm hoping the sensors will be able to utilize interrupts. I wonder if the outside pins on the interrupt section pin out the same as the analog/digital section and that either section can be used with many of sensors.
|
That's a mistake in the manual. You will plug the encoders into the interrupt port when using them with EasyC (and could do the same if you write your own program). EasyC will give you the option to turn them on, off, read the value, and preset the count. I'm pretty sure they return 90 counts (pulses) per revolution.
Brad