Registered Users          New User?
Picture of Euphrem AGBATCHI
code for thermometer
by Euphrem AGBATCHI - Thursday, January 21, 2010, 11:44 AM
 

how do you do the: add an lcd_text statementbto the code file so that the thermometer displays " Celsius Temp = " before the celsius temperature on line 1 of the LCD.  and same for the fahrenheit

my second question is how do you store the previous data (celsius temperature, and fahrenheit) to excel so they can be store and you don't lose your previous data .l only have a programming cable and the programming chip is there any way to get it done

thanks 

Picture of Sam Christy
Re: code for thermometer
by Sam Christy - Friday, January 22, 2010, 08:24 AM
  One way to place text before a number on the LCD would be with the following two lines

lcd_text("The number is ");
lcd_decimal(26);

This would display "The number is 26" on first line of the LCD.

Picture of Euphrem AGBATCHI
Re: code for thermometer
by Euphrem AGBATCHI - Friday, January 22, 2010, 11:23 AM
 

Thanks Sam it works fine do you have an answer my second question