In an effort to learn about using the ds18b20 in a program I downloaded programs, see how they are used etc.
One program for the 08m uses the readtemp command from pin 1, and displays the output on pin 2.
The word (loop is used like main with a colon. When I try the simulator the error says that the loop needs a do.
I take this to mean an action is required.
When I replace the word (loop) with (top) all runs fine.
Don,t recall reading anything about loop, do and can't find an answer. What am I missing?
One program for the 08m uses the readtemp command from pin 1, and displays the output on pin 2.
The word (loop is used like main with a colon. When I try the simulator the error says that the loop needs a do.
I take this to mean an action is required.
When I replace the word (loop) with (top) all runs fine.
Don,t recall reading anything about loop, do and can't find an answer. What am I missing?