j

Dependencies:   mbed yeswecancoap C12832 LM75B

Revision:
1:92958e26bf2e
Parent:
0:92d2ef9f009d
--- a/lib/Color.cpp	Fri Oct 23 11:51:28 2015 +0000
+++ b/lib/Color.cpp	Fri Oct 23 14:58:08 2015 +0000
@@ -24,7 +24,7 @@
 }
 
 int Color::getHex(){
-    return (red >> 16) + (green >> 8) + (blue >> 0); //verander shift register
+    return (red << 16) + (green << 8) + (blue << 0); //verander shift register
 }
 
 int Color::getRed(){