Page 1 of 1

Thermometer / Thermostat problems with display

Posted: Thu Feb 04, 2010 10:40 am
by cobra1
Hi Guys

I have been playing with Flowcode 4 to build a thermostat,

so far i have the ADC input sorted and i have converted the INT value to a temperature value, and i can display this on the lcd

Problem is i want this to be set with a 0.5f resolution so the temperature should read say 87.5f or 90.0 f

this is the part i am struggling on, can anyone help.

would anyone happen to have done this sort of thing before??

Re: Thermometer / Thermostat problems with display

Posted: Thu Feb 04, 2010 5:42 pm
by Benj
Hello

How are you doing your ADC to temparature conversion? Is it via a lookup table or a real time calculation? If it is a calculation then maybe you can simply store the result in a float variable. Then convert the float to a string and send the string to the LCD.