View Single Post
  #4   Spotlight this post!  
Unread 06-02-2008, 23:36
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Too many interrupts?

Like the thead points out, the number of gear tooth sensor interrupts are not a problem. They are a relatively low number compared to the encoders that people are using. We are getting around 1200 interrupts per second from the gear tooth sensor. The interrupt routine is simple too - just increment a counter and clear the interrupt flag.

Brian
__________________
Brian K
Team 1225 Robotics Mentor