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

Revision:
21:c2a2e7cbabdd
Parent:
20:e116e596e540
--- a/Sensors/I2C_Sensor.cpp	Mon Nov 05 09:19:01 2012 +0000
+++ b/Sensors/I2C_Sensor.cpp	Sat Nov 17 11:49:21 2012 +0000
@@ -4,7 +4,7 @@
 #define GET_I2C_WRITE_ADDRESS(ADR)  (ADR << 1&0xFE) // ADR & 1111 1110
 #define GET_I2C_READ_ADDRESS(ADR)   (ADR << 1|0x01) // ADR | 0000 0001
 
-I2C_Sensor::I2C_Sensor(PinName sda, PinName scl, int8_t i2c_address) :  i2c(sda, scl), local("local")
+I2C_Sensor::I2C_Sensor(PinName sda, PinName scl, char i2c_address) :  i2c(sda, scl), local("local")
 {
     I2C_Sensor::i2c_address = i2c_address;
     i2c.frequency(400000); // standard speed