LED CUBE TEAM / Mbed 2 deprecated MAtrix

Dependencies:   mbed

Revision:
8:f74b8d6f00d0
Parent:
7:ca5ed7936472
Child:
9:ed7e8a6fc537
diff -r ca5ed7936472 -r f74b8d6f00d0 text.cpp
--- a/text.cpp	Fri Oct 31 10:49:39 2014 +0000
+++ b/text.cpp	Sat Nov 01 15:54:29 2014 +0000
@@ -151,12 +151,12 @@
 }    
 
 void text::tempCheck(){
-    for (int i = 0; i < 5; i++){
-        pc.printf("\r\n");
-        for (int j = 7; j > (-1); j--){
-            pc.printf("%i", temp[j][i]);
+    pc.printf("\r\n");
+        for (int i = 0; i < 8; i++){
+            pc.printf("0x%02x ", temp[i]);
         }
     }
+    pc.printf("\r\n");
 }
 
 void text::calcLength(string input){