BayEOSArduino Library
Hyt2xSleep.h
1 #ifndef HYT2X_H
2 #define HYT2X_H
3 
4 #include <inttypes.h>
5 
6 typedef enum {
7  HYT221_ADDR = 0x28,
8 } HYT_SENSOR_T;
9 
10 
12 {
13  private:
14  unsigned int valuetemp;
15  unsigned int valuecap;
16 
17  public:
18  uint8_t isPresent(void);
19  float GetHumidity(void);
20  float GetTemperature(void);
21  void triggerMeasurement(void);
22  uint8_t readMeasurement(void);
23  uint8_t measure(void);
24 };
25 
26 extern HYT2xClass HYT2x;
27 
28 #endif
Definition: Hyt2xSleep.h:12