View Single Post
  #1   Spotlight this post!  
Unread 04-02-2006, 13:23
demerski demerski is offline
Registered User
AKA: JJD
FRC #1027 (Mechatronic Maniacs)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: West Springfield, MA
Posts: 5
demerski is an unknown quantity at this point
Gear tooth sensor / GTS on DIO 3,4,5,6?

Hi,

We're having some issues getting gear tooth sensors working on the inputs other than 1 or 2 (we may use more than 2 sensors for speed control). Last year, we modified the encoder code so that we could run up to 6 encoders on inputs 1 through 6, and it worked fine. Now, modifying what we were using last year, the GTS's work fine on inputs 1 and 2 (counting in both directions...though we are not sensing what direction). However, they will only count in one direction on any of the other 4 channels (counts one direction only, nothing the other way).

Has anyone else run into this issue? I know the interrupts on 3 through 6 are ganged together, and I *think* they are set up ok (like I said, encoders work on all 6 channels)...

Any clues? Thanks in advance...

- Jason D.

Team 1027: The Mechatronic Maniacs
www.team1027.com