Projet_S5 / Mbed 2 deprecated Repo_Noeud_Mobile_refactor

Dependencies:   mbed-rtos mbed

Fork of Repo_Noeud_Mobile by Projet_S5

Revision:
20:96280625532c
Parent:
13:4aa3e6eb0120
Child:
22:cccb77300fd5
--- a/Structures/Structure.h	Sat Mar 21 19:14:30 2015 +0000
+++ b/Structures/Structure.h	Sun Mar 22 17:25:00 2015 +0000
@@ -38,3 +38,27 @@
 struct Message {
     Mobile_Vers_Fixe donnees;
 };
+
+typedef struct {
+    bool index;
+    bool majeur;
+    bool annulaire;
+    unsigned short indexU32;
+    unsigned short majeurU32;
+    unsigned short annulaireU32;
+} flex_t;
+
+typedef char GantsID;
+
+typedef struct {
+    GantsID gants;
+    char    xyz[6];
+    flex_t  flexSensors;
+} Mobile_Vers_Fixe;
+
+struct message {
+    Mobile_Vers_Fixe donnees;
+};
+
+
+