summaryrefslogtreecommitdiff
path: root/platformio/temphum/src/temphum.h
blob: 824b9bfd360267791212f0a52ef4b78c77e06c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <Wire.h>

namespace homekit::temphum {

struct data {
    double temp; // celsius
    double rh; // relative humidity percentage
};

void setup();
struct data read();

}