Greetings kamots
Line 80 is a cut and paste that missed the checking. So you are correct.
The DS18B20 is in its default mode of 12bit resolution.
The time for conversion is actually 750mS.
Yes you could reduce it down to 750uS (or less if you wanted to drop the resolution), but for this example its not monitoring anything critical, and the mass of the airspace is unlikely to change within 30 secs.
For accuracy I should have changed it to say why its one second ....
The text scroll function scrolls the whole display, not just a few characters.
So I'm sure what you are trying to suggest.
It's not a long process, but a continuous never ending one.
Delay has deliberately not been used. The original article we tried to show how it becomes a problem, and the article before incorporated two different sketches that were 'time sharing' the uP, utilising millis() rather than delay.
re the apparent double declaration.
Upon investigation it seems that two things are being declared.
I cut and pasted some code from an example included in a zip file (addy.zip), and while I can find the file I can't find where I got it from, and its not in the credits.
It compiles without line 60, but I can't test it at the moment so I can't prove it works.
I did spot your site and sent a link home to check it out.
Thanks for the invite. I have a few other projects/tasks that I need to get done that will take a few weeks.(hopefully)
I did note that we have been found, I prefer to include the credit when I can just so someone can track back.
http://electronicramblings.com/blog1/?p=308 Cheers
Mark