pre commentaire

Dependencies:   EthernetInterface WebSocketClient mbed-rtos mbed

Fork of Code_APP3_C by Éric Bisson

Files at this revision

API Documentation at this revision

Comitter:
LouBe4
Date:
Sun Jan 15 19:40:31 2017 +0000
Parent:
1:3430643e8ed4
Child:
3:5dcf9b78f3ad
Commit message:
8bits plutot 12;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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----