Go to Post Make an informed choice, and feel free to change your mind, if you need to. - Tristan Lall [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 13-01-2008, 13:58
7-11number1 7-11number1 is offline
ROAR.
FRC #1711 (RAPTORS)
 
Join Date: Sep 2007
Rookie Year: 2006
Location: Traverse City, Michigan
Posts: 46
7-11number1 will become famous soon enough
Tracking Elapsed Time

Our team is getting better at programming using MPLAB and I had a question:

1. What is the best way to track elapsed time?

For example, the the main loop running on the RC is fast enough to loop (3) times each time the IR board receives an input then sends out a pulse. We would like to create a timer and ignore any other pulses from the IR board for a 500ms window to prevent processing the same signal (3) times.

I wasn't sure if the RC had an internal clock which could be read and stored into a variable.

Good Luck!
TEAM #1711
Traverse City, MI
 


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
Camera locked in "tracking", but not tracking geeknerd99 Programming 1 18-02-2007 22:47
Tracking Ghosty Programming 4 16-01-2007 10:53
Time tracking software scitobor 617 Programming 19 26-08-2005 21:21
It's that time of year again!! (No, not The Championship event) Tax Time!! Elgin Clock Chit-Chat 4 10-04-2005 10:59
IR tracking nzj1 General Forum 3 26-01-2004 22:46


All times are GMT -5. The time now is 13:47.

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