 // initialize AntoIO instance
 AntoIO anto(user, token, thing);
 
-String Antosend;
-char buf[5];
-
+//initialize dht instance
 DHT dht(DHTPIN,DHTTYPE);
 
 void setup() {

  Serial.print("Anto library version: ");
  Serial.println(anto.getVersion());


  // Connect to your WiFi access point
  anto.wifi.smartConfig();

  Serial.println();
  Serial.println("WiFi connected, trying to connect to broker...");

  while (!anto.mqtt.connect());
  Serial.println("\nConnected");

  //dht start
  dht.begin();

  Serial.println(humid);

  if(temp >= 0){
     anto.pub("Temp",temp);           
  }

  if(humid >= 0){
     anto.pub("Humid",humid);
  }

  delay(1000);
