Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
25:abb0f208e6a9
Parent:
18:f51b1a94a6e2
Child:
33:bd56fc8aeb0a
--- a/LEDDriver.cpp	Mon Apr 13 14:54:35 2015 +0000
+++ b/LEDDriver.cpp	Fri Apr 17 12:08:00 2015 +0000
@@ -21,8 +21,8 @@
 
 void LEDDriver::setColor(const uint8_t r, const uint8_t g, const uint8_t b)
 {
-    write_reg(0x04, r);
-    write_reg(0x03, g);
+    write_reg(0x04, g);
+    write_reg(0x03, r);
     write_reg(0x02, b);
 }