View Single Post
  #1   Spotlight this post!  
Unread 26-02-2012, 12:18
itsZN itsZN is offline
Code Monkey
AKA: Nick Burnett
FRC #1277 (The Robotomies)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Groton Mass.
Posts: 4
itsZN is an unknown quantity at this point
Tachometer Interrupt Help

Our team currently has a tachometer attached to one of our wheels. We were using it to find the Rpm of the wheel, but the method we were using was very inaccurate, sometimes by up to 260 rpm difference. We decided that the best way to fix this was to cause an interrupt in the code every time the counter for the tachometer pulsed. That way we could measure more accurately. How exactly would we have to set that up so it runs a segment of code whenever the tach pulses?
Thanks for any help!

-Team 1277
Reply With Quote