     // line1
     lcd.setCursor(0,0);
     lcd.print("Yuktix H ");
-    if(temp1 > STEEL_MELTING_POINT) { 
+    if(dht22_temp > STEEL_MELTING_POINT) { 
         lcd.print("ERR");
         lcd.setCursor(0,1);
         lcd.print("T ");

    // bmp085_temp = bmp.readTemperature();

#if !defined(AWS_NO_SERIAL)
        serial_output();
#endif

#if !defined(AWS_NO_LCD)
    lcd_output();
#endif

    // 10s delay
    // DHT22 pins need 2 seconds
    for(int i = 0 ; i < 1000 ; i++) {
        //10 ms
        delayMicroseconds(10000);
    }
}


void serial_output() {
    Serial.print("Yuktix H ");
    if(dht22_temp > STEEL_MELTING_POINT) { 
        Serial.println("ERR");
        Serial.print("T ");
        Serial.print("ERR");
