piclist 2001\01\07\021428a >
Thread: Acurate time interval and help with shift in out
www.piclist.com/techref/microchip/time.htm?key=time
flavicon
face BY : Roman Black email (remove spam text)



Peter May wrote:
>
> I noticed a posting just recently re a 1 second time interval. I need to a
> very acurate 1 second interval to output data via a serial pin at 1 second
> intervals. I was wondering if I would be say better to develope an external
> timer with a 1 second pulse to run an interupt?

Hi, try using a crystal in a freq that gives division
into even seconds, then use the interrupt on timer0
to give you accurate ints at 1 second or smaller.
This is covered well in the piclist archives I believe
but I haven't done it myself.


{Quote hidden}

You will probably need to learn the I2C serial
system, used by the most common and best value
eeprom chips. The way I tackled this was to
download and print out the 24AA256 (32k x8)
eeprom datasheet by Microchip. It tells about
the eeprom chip, and gives probably the simplest
and clearest explanation of exactly what I2C
does and what the commands make that chip do.
Many other I2C info sources focus on ALL the
master/slave combinations and it can get very
hard to understand. :o)

Once you fully understand what you need to
send to the chip to make it work it is easy,
or you can make it hard by learning ALL about
I2C. ;o)
-Roman

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


<3A5816A1.7919@ezy.net.au> 7bit

See also: www.piclist.com/techref/microchip/time.htm?key=time
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) Acurate time interval and help with shift in out

month overview.

new search...