On Thu, Feb 07, 2002 at 10:40:39AM -0600, Dale Botkin wrote: > I use the watchdog. Set it for max delay (around 2.3 seconds nominal) and > go to SLEEP. The watchdog will wake you up. In mine I do two consecutive > SLEEPs, so I get a new reading a little more than once every 5 seconds. > > Of course this won't do you a lot of good if you need to log anything > resembling an accurate timestamp, but I have gotten several months out of > three AA cells this way. Mine was a 16F84 and DS1620, by the way - I > think a 1620 would be fine with a slow clock, and it's only two more pins > than an 18S20 and simpler software. I have code to configure and read the DS1620 in my thermostat code. You can find it on my PIC page: http://www.finitesite.com/d3jsys BAJ -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics