// include the library code: #include // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //CODE Below from ...http://www.arduino.cc/playground/ComponentLib/Thermistor2 #include double Thermister(int RawADC) { double Temp; Temp = log(((10240000/RawADC) - 10000)); Temp = 1 / (0.001129148 + (0.000234125 * Temp) + (0.0000000876741 * Temp * Temp * Temp)); Temp = Temp - 273.15; // Convert Kelvin to Celcius return Temp; } void setup() { // set up the LCD's number of rows and columns: lcd.begin(16, 2); // Print a message to the LCD. } void loop() { lcd.clear();//clear LCD screen lcd.setCursor(0,0); lcd.print("current temp. ");//some text to add meaning to the numbers lcd.setCursor(0,1); lcd.print(int(Thermister(analogRead(0))));//value from thermistor corresponding to temperature lcd.print(" deg.C"); delay(1000); }