Quote:
Originally Posted by Kevin Sevcik
The PIC has several onboard hardware timers you could use for this, but I think just counting passes through the main loop would be much simpler for this application.
|
We've found using loop counters to be very inaccurate in the past. Writing a hardware timer isn't difficult. We've done it several ways, ranging from using someone else's pre-package code, to writing our own routines last year.
See
http://www.chiefdelphi.com/forums/sh...ad.php?t=54948 for a previous discussion on the topic.