2011-10-13 11:22:03 -03:00
|
|
|
#ifndef APM_BMP085_hil_h
|
|
|
|
#define APM_BMP085_hil_h
|
|
|
|
|
|
|
|
class APM_BMP085_HIL_Class
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
uint8_t BMP085_State;
|
|
|
|
public:
|
|
|
|
APM_BMP085_HIL_Class(); // Constructor
|
|
|
|
int32_t RawPress;
|
|
|
|
int32_t RawTemp;
|
|
|
|
int16_t Temp;
|
|
|
|
int32_t Press;
|
|
|
|
//int Altitude;
|
|
|
|
uint8_t oss;
|
2011-11-12 22:45:23 -04:00
|
|
|
void Init(int initialiseWireLib = 1, bool purple_hardware=false);
|
2011-10-13 11:22:03 -03:00
|
|
|
uint8_t Read();
|
|
|
|
void setHIL(float Temp, float Press);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|