     // 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 ");


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


void isr_pin2() {
    
    // @imp millis() donot advance inside an ISR
    irq_time = millis();    
    if((irq_time - last_irq_time) > 250) {
        rain_counter = rain_counter +1 ;
