5 second delay
Lea email (remove spam text)
At 11:15 PM 10/20/99 -0400, you wrote:
>What would be the best way to create a 5 second delay with a 16c56?
Some time ago I was working in a program that activate a routine once every
10 seconds, I used a "watch xtal" as oscilator for the PIC (32.768 Khz Xtal),
and using the prescaler dividing by 256 the pic clock, So TMR0 interrupts
me (overflow) 8 times x second, a simple do-loop will do the rest and it's
quite precise and easy to do but I don't know if 8.1khz of pic speed will be
enough processing power for you.
Leandro J. Laporta (LU2AOQ)
wrk: Arg. Assoc. for Space Technology.
ham: TCP/IP high speed group HSG
See also: www.piclist.com/techref/timers.htm?key=delay
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the