HIH-4030 fork to handle 3.3v input voltage

Fork of HIH-4030 by Simon Barker

hih-4030.h

Committer:
ddollar
Date:
2013-08-11
Revision:
1:f0ae84350631
Parent:
0:114b50b41972

File content as of revision 1:f0ae84350631:

#ifndef HIH4030_h
#define HIH4030_h

#include "mbed.h"

class HIH4030{

public:
  HIH4030(PinName analog_in);

  float sensorRH();
  float trueSensorRH(float temperature);

private:
  AnalogIn *m_analog_in;
  float sample;
  float temperature;
};
#endif