 StaticJsonBuffer<200> jsonBuffer;
 JsonObject& json = jsonBuffer.createObject();
 
-#define DHT11_PIN 0      // ADC0
+int sensorValue = 0;
 
 byte read_dht11_dat()
 {

#include <ArduinoJson.h>

// Memory pool for JSON object tree.
// Inside the brackets, 200 is the size of the pool in bytes.

        Serial.println("DHT11 checksum error");
    }

    sensorValue = dht11_dat[0]*10.24;
    
    for(i=0; i<30; i++){
      json["humdity"] = dht11_dat[0];
      json["temperature"] = dht11_dat[2];
      json["A0"] = sensorValue;
      json.printTo(Serial);
      Serial.println();
    }
