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.

Dependencies:   mbed MODI2C

Sensors/Alt/BMP085.cpp

Committer:
maetugr
Date:
2012-10-31
Revision:
16:74a6531350b5
Parent:
Sensors/BMP085/BMP085.cpp@ 14:cf260677ecde
Child:
18:c8c09a3913ba

File content as of revision 16:74a6531350b5:

#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!
    
}