     
 }
 
-
 // ====================================================================== loop
 
 void loop() 

}

//========================================================================
boolean thingSpeakWrite(float value1, float value2){
  String cmd = "AT+CIPSTART=\"TCP\",\"";                  // TCP connection
  cmd += "184.106.153.149";                               // api.thingspeak.com

           thingSpeakWrite(t,h);                                      // Write values to thingspeak
      }
  
    // set the cursor to column 0, line 1
    // (note: line 1 is the second row, since counting begins with 0):
    lcd.setCursor(0, 1);
    
   // Print a temperature and humidity to the LCD.
    //lcd.print("Temperature is", t "Humidity is", h );
    lcd.print("T="+String(t)+ "\n");
    lcd.print("H="+String(h));

   
 delay(20000);     // thingspeak needs 15 sec delay between updates,     
}


