Go to Post We have a lot of rookies, and I can't wait to see the inspiration on their faces. - Karibou [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 22-08-2006, 14:19
foobert foobert is offline
Registered User
no team
 
Join Date: May 2005
Location: oakland, ca
Posts: 87
foobert is a jewel in the roughfoobert is a jewel in the roughfoobert is a jewel in the rough
Re: Reading an encoder with interrupts

Quote:
Originally Posted by GlennGraham
Would you mind explaining how the encoder interrupt handler works with the timer2 interrupt handler?
the timer is used to determine the amount of time between encoder interrupts so you can determine the speed at which your bot is progressing.

the timer interrupt occurs when the timer overflows, so that you will know if and how many times that has occurred between encoder interrupts.

can't look at the code right now, but will if i have a minute later.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with reading and writing EEPROM DKolberg Programming 4 16-03-2004 19:29
Help with pots/interrupts mtrawls Programming 10 24-02-2004 17:01
EDU Demo Code: Encoder Interfacing Using Interrupts Kevin Watson Programming 4 08-01-2004 23:14
help with Interrupts thoughtful Programming 5 08-01-2004 16:07
Problem with interrupts on the PIC Mike Betts Programming 7 16-12-2003 21:26


All times are GMT -5. The time now is 12:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi