summaryrefslogtreecommitdiff
path: root/n/es-2006/src/barillet.h
diff options
context:
space:
mode:
Diffstat (limited to 'n/es-2006/src/barillet.h')
-rw-r--r--n/es-2006/src/barillet.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/n/es-2006/src/barillet.h b/n/es-2006/src/barillet.h
index bdba150..5f67d60 100644
--- a/n/es-2006/src/barillet.h
+++ b/n/es-2006/src/barillet.h
@@ -28,17 +28,6 @@
#include "common.h"
-/* variable globale avec le main */
-
-extern uint8_t extraction;
-/* variable indiquant que l'on depose une balle, on attend que la barriere optique voit la balle passee */
-extern uint8_t depot;
-/* variable pour lancer une rotation */
-extern uint8_t rotation;
-/* position du barillet a aller */
-extern uint8_t pos_a_aller;
-
-
/* fonction d'initialisation */
void barillet_init(void);
@@ -54,5 +43,14 @@ void sens( uint8_t sens_rotat );
/* fonction main de la gestion du barillet */
void sequenceur_barillet(void);
+/* fonction pour setter une rotation */
+void rotation(uint8_t pos_fin);
+
+/* fonction pour setter une extraction */
+void extraction(void);
+
+/* fonction pour setter un depot de balle */
+void depot_balle(void);
+
#endif