diff options
Diffstat (limited to 'platformio/temphum/src/temphum.h')
-rw-r--r-- | platformio/temphum/src/temphum.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/platformio/temphum/src/temphum.h b/platformio/temphum/src/temphum.h new file mode 100644 index 0000000..824b9bf --- /dev/null +++ b/platformio/temphum/src/temphum.h @@ -0,0 +1,15 @@ +#pragma once + +#include <Wire.h> + +namespace homekit::temphum { + +struct data { + double temp; // celsius + double rh; // relative humidity percentage +}; + +void setup(); +struct data read(); + +}
\ No newline at end of file |