DS1620 and below zero temperatures
Moskog
Posts: 554
OK, so I have this simple program:
[code]CON _clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
OBJ
debug : "VGA_Text"
VAR
long tc
PUB Main
Highbyte := %00000001
Lowbyte := %11001110 ' (-25
[code]CON _clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
OBJ
debug : "VGA_Text"
VAR
long tc
PUB Main
Highbyte := %00000001
Lowbyte := %11001110 ' (-25
Comments
Well I really thought there was a more elegant way but that doesn't really matter. Strange that the Propeller DS1630-demos found seems to only handle the positive temperatures.
You are absolutely right, but thats why I need the minus sign to be there -and to be in the right place.