View Single Post
  #4   Spotlight this post!  
Unread 21-02-2004, 11:08
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: question about autonomous timing

Quote:
Originally Posted by mightywombat
a better way to set up a timer, if you are comfortable with it, is to use the processor interrupts. www.kevin.org/frc has some sample code that can be cut and pasted into your code. I knew nothing about interrupts and timers and such and after a few hours staring blindly at the screen everything clicked. its really sweet how everything works. search chiefdelphi for other threads related to interrupt driven timers
Interrupts can be very dangerous and difficult to debug. I wouldn't recommend their use for rookie teams, espically at this late date.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...