Hi!
If you followed my schematic exactly, try the attached code.
It works fine for me.
Notice : Cs (PortB.3) must be Low ; Rst(PortA.4) needs a pullup ; Mode is disabled (you need another pin)
Regards
Gianni
Hi!
If you followed my schematic exactly, try the attached code.
It works fine for me.
Notice : Cs (PortB.3) must be Low ; Rst(PortA.4) needs a pullup ; Mode is disabled (you need another pin)
Regards
Gianni
You are one Gentleman ! Thank You verry much ! It's work fine now !![]()
Hi again ! I try to build one simple thermometer, based on schematic from GioppY and code from Ivica N., but with this code (attached) I see only some points, all over the display, and '85.0'. Some sugesstion ? What I do wrong ? Thanks in advance !
Try to clear the LCD, that should help. See my post (#95) couple of replies above for more info about LCD commands.
Do you want to measure temperature more than once? At least there is no loop back to Main. Also I have noticed that DS18B20 gives 85 degrees for some time at the first start (when powered). This might be the reason why you see 85 and some some dots on your screen.
BR,
-Gusse-
Using the command "goto main" I have some results ; now the display show the correct temperature...but still remains some 'points'... (see foto). I try different code for LCD_Clear, but not results... Please, help me more ! Thanks in advance !
Bookmarks