View Single Post
  #15   Spotlight this post!  
Unread 02-01-2007, 10:29
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Glitches Eliminated using Interrupt Context Saving, BUT ...

Thanks for the latest couple of comments, especially Brad's. Although these PIC are extremely powerful and can be pushed a long way, there is a limit.

I did some testing with a logic analyzer where both channels were interrupting simultaneously with same-size pulses ... I'll have to do some more!

Our team has decided we will use quadrature encoders wherever possible.

For those that are interested, I have published the final encoder, measure, and wallclock code at http://www.sunsys.net/frc

Mike