![](/media/cache/profiles/8ad6635f33710af6a535e8fb8486975e.50x50_q85.jpg)
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:
- 18:c8c09a3913ba
- Parent:
- 17:e096e85f6c36
- Child:
- 20:e116e596e540
diff -r e096e85f6c36 -r c8c09a3913ba Sensors/Alt/BMP085.h --- a/Sensors/Alt/BMP085.h Wed Oct 31 16:53:01 2012 +0000 +++ b/Sensors/Alt/BMP085.h Sat Nov 03 07:44:07 2012 +0000 @@ -1,3 +1,5 @@ +// based on http://mbed.org/users/okini3939/code/BMP085/ + #ifndef BMP085_H #define BMP085_H @@ -11,13 +13,11 @@ public: BMP085(PinName sda, PinName scl); - float data[3]; - - void read(); + //virtual void read(); void calibrate(int s); - float get_angle(); + float get_height(); private: // raw data and function to measure it