View Single Post
  #4   Spotlight this post!  
Unread 06-02-2006, 19:59
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
Re: Gear tooth sensor / GTS on DIO 3,4,5,6?

Thanks for your feedback...yeah, the second pin code has been removed.

The only thing going on in the code is the counter incrementing on any interrupt, whether the pulse is going high or low. I haven't looked at the hardware specs yet...and I'm not really a digital guy, but I'm wondering if the pulse in that direction is so short that the low-going interrupt triggers before the handler is done with the high-going interrupt. Would something like that cause the handler to bail before the first calculation is done? It would explain why it's not incrementing at all, but I'm just guessing. I'll keep looking...

We appreciate your input!


- Jason D.

Team 1027: The Mechatronic Maniacs
www.team1027.com