piclist 2001\01\10\035658a >
Thread: Time diff code
face BY : Kübek Tonyemail (remove spam text)

I don't have any personal expirience with the DS1305 however I took a
glance at it. It seems that You could use one of the alarm register for
As you can mask out hours/days and only use minutes to trigger the
one of the int outputs ( whether used or not ) will be low even if only
powered by
battery. So at wake/startup you just need to check the status of this
pin and handle
accordingly, when data has been processed re-set the alarm to current
minutes +
10 minutes ( adjust to be less than 60 ofcource ) and away you go...
In each loop you just check if the pin is low/high.

Doesn't answer your original question though, but it seems like to way
to go there
is to convert to Julian date ( if you decide to go that route ). And
as a 24 or 32 bit variable depending if you want to be 'standarized' or
not :)


Tony Kübek, Flintab AB            
E-mail: @spam@tony.kubekspamspamEraseMEflintab.com

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservEraseMEspammitvma.mit.edu with SET PICList DIGEST in the body

<200101100855.JAA15330@mn10.swip.net> quoted-printable

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) Time diff code

month overview.

new search...