HIH-4030 fork to handle 3.3v input voltage

Fork of HIH-4030 by Simon Barker

hih-4030.h

Committer:
simonbarker
Date:
2013-06-23
Revision:
0:114b50b41972
Child:
1:f0ae84350631

File content as of revision 0:114b50b41972:

#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