I've seen this problem before. The resolution is in the data sheet section regarding Vbat. This is what it says
Hope that helps
OK, Ive been thinking (with the aid of a glass of Rye.....) and I was wondering with my re-newed knowledge of arrays if the following would work:
1. Have built the truth table - works.
Some reading if you are still on PBP v2.6 or earlier:
Have you tried AllDigital?
Very interesting. I did not know about DS1370 battery voltage sensitivity. I used long-life CR 1620 for 10 year clock service and never checked battery voltages with a meter. Something to...
I do have it working - came up late last night and my solution looks pretty much like Enrik's suggestion. Code follows for others to use or learn:
My first thought too Dave, seems like it would not compile in 2.5 with that error, wondering if this is "found code" and/or if there is a missing include file.
Here is the full .asm file http://pastebin.com/RcTFmNjd
Look for a label or variable named Rollover in your code. Or I should say a label or variable called in your code that is not defined in your code.
Thank you for this: I had tried every similar variation but failed to make it work!