BayEOSArduino Library
HR202.h
1 /*
2  * Calibration curve for HR202 connected with a __100k__ preresistor
3  * Calibration is temperature dependent. Therefor one has to give a
4  * temperature value.
5  */
6 
7 #ifndef HR202_h
8 #define HR202_h
9 #include <Arduino.h>
10 
11 
12 class HR202 {
13 private:
14  uint8_t _vcc_pin;
15  uint8_t _gnd_pin;
16  uint8_t _adc_pin;
17 public:
18  HR202(uint8_t vcc_pin, uint8_t gnd_pin,uint8_t adc_pin);
19  float getHumidity(float t);
20 };
21 
22 
23 
24 
25 #endif
Definition: HR202.h:12