UUID read and print

Dependencies:   mbed

Revision:
5:c397bce05ecd
Parent:
2:3d2e61cce12a
Child:
6:3deacf18cc07
--- a/main.cpp	Wed Nov 19 23:43:27 2014 +0000
+++ b/main.cpp	Thu Nov 20 00:01:57 2014 +0000
@@ -9,11 +9,11 @@
 int main() {
     uint32_t UUID_LOC = 0x40048054; // K64F address of UUID data
     uint32_t result[4] = {0};
-    uint32_t i = 3;
+    uint32_t i = 3; //comment here
         
     for (; i>=0; --i) {
         result[i] = *(uint32_t *)UUID_LOC;
-        printf("REG:%08x\tVAL:%08x\r\n", UUID_LOC, result[i]);
+        printf("REG:%08x\tVAL:%08x\n\r", UUID_LOC, result[i]);
         UUID_LOC += 4;
     }
     
@@ -22,3 +22,4 @@
 }
 
 
+//hadeerp derp derp thingy
\ No newline at end of file