Correction de la lib car erreur de format dans les calculs
Diff: MS5803.h
- Revision:
- 3:77cf75d8a6ce
- Parent:
- 2:3e5c7afef8f8
- Child:
- 4:ff505486c804
--- a/MS5803.h Thu Jul 24 04:59:22 2014 +0000 +++ b/MS5803.h Wed Aug 06 17:27:29 2014 +0000 @@ -58,7 +58,7 @@ #define ms5803_ADCread 0x00 // read ADC command #define ms5803_PROMread 0xA0 // read PROM command base address -class MS5803 : public Base { +class MS5803{ private: int D1, D2, Temp, C[8]; float T_MS5803, P_MS5803; @@ -71,6 +71,7 @@ char ms5803_addr = ms5803_addrCH ) : i2c( sda, scl ), device_address( ms5803_addr << 1 ) { } + void MS5803Init(void); void MS5803Reset(void); void MS5803ReadProm(void); void MS5803ConvertD1(void);