app3

Dependencies:   mbed

Fork of Code_APP1 by Louis Beaulieu

Revision:
2:9aacd567c70b
Parent:
1:3430643e8ed4
Child:
3:5dcf9b78f3ad
--- a/main.cpp	Sun Jan 15 19:36:05 2017 +0000
+++ b/main.cpp	Sun Jan 15 19:40:31 2017 +0000
@@ -27,10 +27,10 @@
     i2c.write(addrChip, buffer, 1, true);
     i2c.read(addrChip, buffer, 3);
     int angle = calculer_angle(buffer[0], buffer[1], buffer[2]);
-    pc.printf("%02x\t", buffer[0]);
-    pc.printf("%02x\t", buffer[1]);
-    pc.printf("%02x\t", buffer[2]);
-    pc.printf("\n");
+    //pc.printf("%02x\t", buffer[0]);
+    //pc.printf("%02x\t", buffer[1]);
+    //pc.printf("%02x\t", buffer[2]);
+    //pc.printf("\n");
     
     
     //----Base SPI----