Timer/Sample rate

Started by Francisco Lobo January 16, 2004
Is there a way to determine a sample rate (how many times per second i
have been runing this sub). or is there a way to set watchdog/interrupt
timer to go to a specific routine at certain intervals?
---------
Francisco Lobo de la Garza
CEO/Director General
movic Records
elcielo Recording Studio
Garza Garcia N.L Mexico
---------
Grupo Fusion Global
Copyright(c) 2003-2004
---------------
POR FAVOR no incluyas este mail en
listas de correo ni en sistemas
automatizados de mensajes.
PLEASE do not include this email
address in any mailing list or
newsletters.



From: Francisco Lobo <>

> Is there a way to determine a sample rate (how
> many times per second i have been runing this
> sub). or is there a way to set watchdog/interrupt
> timer to go to a specific routine at certain
> intervals?

Either the real time clock or Timer1 in stopwatch mode could be
used. Right now there's no user-accessible interrupt you could
use.

Can't say about the watchdog -- that would be an unusual use for
it, to say the least. It might work.

-- Frank Manning
-- NetMedia, Inc.