Projet_S5 / Mbed 2 deprecated Repo_Noeud_Mobile_refactor

Dependencies:   mbed-rtos mbed

Fork of Repo_Noeud_Mobile by Projet_S5

Revision:
48:bc531288c220
Parent:
44:0862bc49ffa7
Child:
51:299408ceee3a
diff -r f372ca93d6c1 -r bc531288c220 Communication/Xbee.cpp
--- a/Communication/Xbee.cpp	Wed Apr 08 20:29:22 2015 +0000
+++ b/Communication/Xbee.cpp	Sat Apr 11 00:03:49 2015 +0000
@@ -85,11 +85,11 @@
     data[4] = mvf.accelData.y & 0x00FF;
     data[5] = mvf.accelData.z >> 8;
     data[6] = mvf.accelData.z & 0x00FF;
-
+    x_pc.printf("Test123");
     mvf.flexSensor.index == 1 ? data[7] = 0x04 : data[7] = 0;
     mvf.flexSensor.majeur == 1 ? data[7] += 0x02 : data[7] += 0;
     mvf.flexSensor.annulaire == 1 ? data[7] += 0x01 : data[7] += 0;
-
+   
     EnvoyerDonnees(data, 8);
 }
 
@@ -104,7 +104,7 @@
     data[4] = mvf->accelData.y & 0x00FF;
     data[5] = mvf->accelData.z >> 8;
     data[6] = mvf->accelData.z & 0x00FF;
-
+     x_pc.printf("Test123");
     mvf->flexSensor.index == 1 ? data[7] = 0x04 : data[7] = 0;
     mvf->flexSensor.majeur == 1 ? data[7] += 0x02 : data[7] += 0;
     mvf->flexSensor.annulaire == 1 ? data[7] += 0x01 : data[7] += 0;