NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: Sensors/Alt/BMP085.h
- Revision:
- 40:2ca410923691
- Parent:
- 34:3aa1cbcde59d
--- a/Sensors/Alt/BMP085.h Wed Aug 28 00:30:38 2013 +0000 +++ b/Sensors/Alt/BMP085.h Fri Feb 14 14:17:32 2014 +0000 @@ -12,8 +12,8 @@ { public: BMP085(PinName sda, PinName scl); - - //virtual void read(); + float data; // where the measured data is saved + //void read(); void calibrate(int s); @@ -21,7 +21,7 @@ private: // raw data and function to measure it - int raw[3]; + int raw; //void readraw(); // calibration parameters and their saving