View Single Post
  #3   Spotlight this post!  
Unread 04-02-2006, 18:33
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gear tooth sensor / GTS on DIO 3,4,5,6?

The only difference in the GTS signal for the two directions is the length of the high-going pulse. It should trigger identically for both CW and CCW sensing. Unless you've forgotten to take out the "phase B" code, I can't think of any reason it would count in one direction but not the other.

Or maybe you're not properly accounting for the fact that you get both high-going and low-going interrupts on pins 3-6, though that doesn't seem to be likely to cause the results you're getting.