HIH-4030 fork to handle 3.3v input voltage
Fork of HIH-4030 by
Diff: hih-4030.h
- Revision:
- 0:114b50b41972
- Child:
- 1:f0ae84350631
diff -r 000000000000 -r 114b50b41972 hih-4030.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hih-4030.h Sun Jun 23 11:53:24 2013 +0000 @@ -0,0 +1,19 @@ +#ifndef HIH4030_h +#define HIH4030_h + +#include "mbed.h" + +class HIH4030{ + +public: + HIH4030(PinName vout); + float ratioHumidity(); + float sensorRH(); + float trueSensorRH(float temperature); + +private: + AnalogIn vout_; + float sample; + float temperature; +}; +#endif \ No newline at end of file