ardupilot/libraries/APM_BMP085/APM_BMP085_hil.h
Pat Hickey 004a4425cd barometer: add purple_hardware option to Init()
this allows selection of right hardware at Init() time
2011-11-25 20:00:15 -08:00

22 lines
406 B
C++

#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;
void Init(int initialiseWireLib = 1, bool purple_hardware=false);
uint8_t Read();
void setHIL(float Temp, float Press);
};
#endif