Update dht22.h

This commit is contained in:
2017-08-23 09:52:09 +00:00
parent 724306e409
commit 6243c087f5

10
dht22.h
View File

@@ -3,6 +3,10 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
int pin;
float humidity;
@@ -12,4 +16,10 @@ typedef struct {
void getData(sensor *s);
//static int read_dht22_dat(int pin, sensor *s);
//static uint8_t sizecvt(const int read);
#ifdef __cplusplus
}
#endif
#endif