doggington
Member
Hi all
I have been messing about with one of these for a while with an 18x chip using:
Main:
readtemp 0 , w1
sertxd ("the temp is:" #w1,13,10)
pause 1000
goto main
this has been displaying the temperature in centgrade of anything i put in front of it from my thumb to (near) my soldering iron. No negatives.
Having got to grips with this I decided to build an egg incubator so ordered an lcd display and an 18m2 to control the fan, light, motor etc.
have wired up the lcd display and connected it to a new project board with the 18m2 and the following:
main:
readtemp C.0, w1
serout B.7,N2400, (254,128)
serout B.7,N2400, ("temp is: " #w1)
pause 3000
serout B.7,N2400, (254,1)
pause 30
goto main
this works fine until the temp goes over 25or 26 then the display alternates the real temp with 85 as it gets hotter the display just stays on 85
if i use "sertxd" a similar thing happens in the terminal.
if i reconnect to the 18x on its project board using "sertxd" everything is fine
there must be a simple answer but I cant find it!!!
best wishes
I have been messing about with one of these for a while with an 18x chip using:
Main:
readtemp 0 , w1
sertxd ("the temp is:" #w1,13,10)
pause 1000
goto main
this has been displaying the temperature in centgrade of anything i put in front of it from my thumb to (near) my soldering iron. No negatives.
Having got to grips with this I decided to build an egg incubator so ordered an lcd display and an 18m2 to control the fan, light, motor etc.
have wired up the lcd display and connected it to a new project board with the 18m2 and the following:
main:
readtemp C.0, w1
serout B.7,N2400, (254,128)
serout B.7,N2400, ("temp is: " #w1)
pause 3000
serout B.7,N2400, (254,1)
pause 30
goto main
this works fine until the temp goes over 25or 26 then the display alternates the real temp with 85 as it gets hotter the display just stays on 85
if i use "sertxd" a similar thing happens in the terminal.
if i reconnect to the 18x on its project board using "sertxd" everything is fine
there must be a simple answer but I cant find it!!!
best wishes