Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
4:e759b8c756da
Parent:
3:ee90a9ada112
Child:
12:1632d7391453
--- a/MotorDriver.cpp	Wed Jan 21 10:34:45 2015 +0000
+++ b/MotorDriver.cpp	Fri Jan 23 13:00:46 2015 +0000
@@ -1,8 +1,12 @@
 #include "MotorDriver.h"
 #include <cassert>
 #include <cmath>
+#define DEBUG "Motor"
+#include "Logger.h"
 
-MotorDriver::MotorDriver(I2C &i2c, const uint8_t address) : I2CPeripheral(i2c, address) {}
+MotorDriver::MotorDriver(I2C &i2c, const uint8_t address) : I2CPeripheral(i2c, address) {
+    INFO("Motor driver at addr=%#x ready", address);
+}
 
 void MotorDriver::setVoltage(const float voltage) {
     assert(abs(voltage) <= 5.06);