Delays got me beat
pandersn.....@spam_OUTidir.net email (remove spam text)
Just a thought. Why not use one of the timers for an exact interrupt delay
rather than working with code loops? Example: use TMR2 and set pre- post-
and main counters so that you get the delay you want, then interrupt or
sample on that...count it in a routine.
Hope that is helpful.....
On Friday, May 26, 2000 3:02 AM, Tim Hamel [SMTP:AOL.COM] wrote: TekPhobia
> Hi Friends,
> I'm once again at everyone's mercy. I usually try to exhaust all my
> and fight with something before posting a problem to the list; but I'm
> I consider myself pretty handy with PICs, but this topic has me buried in
> books and sites.
> I can't, for the life of me look at a piece of delay code and tell you
> long it delays for. I've tried breaking it down, reading over David
> piece about it over and over, but still have a big "?" on my forehead.
> some kind soul break down into bits and pieces so I could figure it out?
> going to be doing a weather project, and I'm sure I'll need this
> Hopefully, I'll be able to complete the project without being dependant
> you guys =)
> Much thanks in advance,
> Tim Hamel
See also: www.piclist.com/techref/microchip/time.htm?key=delay
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the