#ifndef KK_DHT11_H
#define KK_DHT11_H

#include <Arduino.h>

const int DHTLIB_OK = 0;
const int DHTLIB_ERROR_CHECKSUM = -1;
const int DHTLIB_ERROR_TIMEOUT = -2;

class KK_dht11 {
  public:
    int read(const int pin);
    int humidity;
    int temperature;
};

#endif