 // Update these with values suitable for your network.
 byte mac[]    = {  0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED };
 IPAddress ip(192, 168, 1, 230);
-IPAddress server(192, 168, 1, 145);
+IPAddress server(192, 168, 1, 69);
 
 void callback(char* topic, byte* payload, unsigned int length) {
   Serial.print("Message arrived [");

  mm = mm.substring(mm.length() - 2, mm.length());
  String ss = '0' + String(random(0,60));
  ss = ss.substring(ss.length() - 2, ss.length());
  timeAcq =  (String)2018 + '-' + MM + "-" + dd + " " + \
              hh + ":" + mm + ":" + ss;
  

  String msg= puntoAcq + ',' + temp + ',' + terUm + ',' + AriaUm + ',' + timeAcq;
  
  long now = millis();
  if (now - lastMsg > 2000) {

    char buf[64];
    msg.toCharArray(buf, 64);
    client.publish("acqDati", buf);

    delay(2000);
  
}
}
