dht22, main, makefile

This commit is contained in:
2017-01-22 18:54:30 +01:00
parent 8502efa1d9
commit 2167638d2b
4 changed files with 160 additions and 0 deletions

9
dht22.h Normal file
View File

@@ -0,0 +1,9 @@
typedef struct {
float humidity;
float temperature;
} sensor;
void getData(int pin, sensor *s);