piclist 2000\05\26\112744a >
Thread: Delays got me beat
www.piclist.com/techref/microchip/time.htm?key=delay
flavicon
face BY : pandersnRemoveME@STOPspamidir.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.....

Phil

On Friday, May 26, 2000 3:02 AM, Tim Hamel [SMTP:STOPspamTekPhobiaspamspamEraseMEAOL.COM] wrote:
> Hi Friends,
>
> I'm once again at everyone's mercy. I usually try to exhaust all my
resources
> and fight with something before posting a problem to the list; but I'm
stuck.
> 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
how
> long it delays for. I've tried breaking it down, reading over David
Benson's
> piece about it over and over, but still have a big "?" on my forehead.
The
{Quote hidden}

Could
> some kind soul break down into bits and pieces so I could figure it out?
I'm
> going to be doing a weather project, and I'm sure I'll need this
knowledge.
> Hopefully, I'll be able to complete the project without being dependant
on
> you guys =)
>
> Much thanks in advance,
>
> Tim Hamel

<01BFC6FD.86CEF980.pandersn@idir.net>

See also: www.piclist.com/techref/microchip/time.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) Delays got me beat

month overview.

new search...