Hi all !

I tried the attached listning from Rentron.

I tried to do compare a variable decimaltemp with a defined value of 25 and the varable TempC.

The problem is that tempC is a binary and not the uservariable.

I want to set variable decimaltemp = dec (TempC) but have'nt found any function for that.

It is possible to do such function in serout serout2 and lcdout but not to a variable.....?

What am i missing ?

Rentron listning:
http://www.rentron.com/PicBasic/one-wire3.htm

Brgds Roy