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/BMP085/BMP085.cpp
- Revision:
- 14:cf260677ecde
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sensors/BMP085/BMP085.cpp Sat Oct 27 10:53:43 2012 +0000 @@ -0,0 +1,9 @@ +#include "mbed.h" +#include "BMP085.h" + +BMP085::BMP085(PinName sda, PinName scl) : I2C_Sensor(sda, scl, BMP085_I2C_ADDRESS) +{ + // initialize BMP085 with settings + //writeRegister(0xf4, 0x2e); // TODO: was macht das + register in header! + +} \ No newline at end of file