You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
431 B
23 lines
431 B
14 years ago
|
#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;
|
||
13 years ago
|
void Init(int initialiseWireLib = 1, bool apm2_hardware=false);
|
||
14 years ago
|
uint8_t Read();
|
||
|
void setHIL(float Temp, float Press);
|
||
13 years ago
|
int32_t _offset_press;
|
||
14 years ago
|
};
|
||
|
|
||
|
#endif
|