Programme d'utilisation des AX12 et de l'MX12 V3. 0C = action de l'MX12. (data0) 0 | 1 | 2 = position & sens de rotation
Dependencies: MX12
Fork of Utilisatio_MX12_V3 by
Diff: Actionneur.h
- Revision:
- 3:1bb26049bdd1
- Parent:
- 2:9d280856a536
diff -r 9d280856a536 -r 1bb26049bdd1 Actionneur.h --- a/Actionneur.h Fri May 19 08:06:49 2017 +0000 +++ b/Actionneur.h Sat May 20 15:23:58 2017 +0000 @@ -14,6 +14,7 @@ #define AX12_REMPLIR_BASE_POMPE 9 #define AX12_GET_POSITION 10 #define AX12_VIDER_FUSEE_POMPEBLEU 11 +#define BOUGER_MX12 12 #define AX12_DEFAUT 20 #define TOLERANCE_AX12 50 @@ -78,6 +79,12 @@ void Pousser_module(unsigned char choix); /****************************************************************************************/ +/* FUNCTION NAME: bouger_MX12 */ +/* DESCRIPTION : Fonction qui sélectionne le sens de rotation de l'MX12 et le bouge */ +/****************************************************************************************/ +void bouger_MX12(unsigned char choix); + +/****************************************************************************************/ /* FUNCTION NAME: Check_positionAX12 */ /* DESCRIPTION : Fonction qui permet de verifier la position des AX12 */ /****************************************************************************************/