libraries/Dht11/dht11.h
Vincent Batts 636263d2d3 libraries: switch to dht11.h from keyestudio
a93d1575a96c77b5cc9184bf3ceca3ecf9d61779  /home/vbatts/KS0530 Keyestudio Solar Tracking Kit.zip
fea14b18807e3dac4b112354eefb76a5e0f76c4b  /home/vbatts/KS0530 Keyestudio Solar Tracking Kit/Libraries/Dht11.zip
2024-07-29 16:47:45 -04:00

33 lines
490 B
C++

#ifndef dht11_h
#define dht11_h
#if defined(ARDUINO) && (ARDUINO >= 100)
#include <Arduino.h>
#else
#include <WProgram.h>
#endif
#define DHT11LIB_VERSION "0.4.1"
#define DHTLIB_OK 0
#define DHTLIB_ERROR_CHECKSUM -1
#define DHTLIB_ERROR_TIMEOUT -2
class dht11
{
public:
int read(int pin);
int humidity;
int temperature;
int byt0;
int byt1;
int byt2;
int byt3;
int byt4;
};
#endif
//
// END OF FILE
//