Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Repo_Noeud_Mobile by
Diff: Structures/Structure.h
- Revision:
- 23:5bb76b7c35da
- Parent:
- 22:cccb77300fd5
- Child:
- 24:1a16e7eabb0c
--- a/Structures/Structure.h Sun Mar 22 19:57:40 2015 +0000
+++ b/Structures/Structure.h Thu Mar 26 15:40:56 2015 +0000
@@ -1,4 +1,5 @@
#pragma once
+#define VALEURFLEX 0
typedef char GantsID;
typedef char GameID;
@@ -32,12 +33,19 @@
bool index;
bool majeur;
bool annulaire;
+#if VALEURFLEX
unsigned short indexU32;
unsigned short majeurU32;
unsigned short annulaireU32;
+#endif
} flex_t;
typedef struct {
+ GameID game;
+ bool etat; //Debut = 1, fin = 0;
+}
+
+typedef struct {
GantsID gants;
Accel_t accelData; // donnée accéléromètre.
flex_t flexSensor;
