piclist 1999\10\21\004916a >
Thread: 5 second delay
www.piclist.com/techref/timers.htm?key=delay
picon face BY : 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?
>
>Scott

Hi Scott.
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.

leo.
  Leandro J. Laporta (LU2AOQ)
  mail: TakeThisOuTlu2aoqspam@spam@yahoo.com
  wrk: Arg. Assoc. for Space Technology.
  ham: TCP/IP high speed group HSG

<1.5.4.32.19991021044626.006cda84@pop.mail.yahoo.com>

See also: www.piclist.com/techref/timers.htm?key=delay
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) 5 second delay

month overview.

new search...