carte esclave pompe 2020 V1

Dependencies:   mbed ident_crac

Revision:
16:5e00af31ae8a
Parent:
13:178eaf022d60
Child:
17:fcfdd7de9039
--- a/main.cpp	Thu May 23 09:10:12 2019 +0000
+++ b/main.cpp	Thu May 23 10:36:35 2019 +0000
@@ -145,17 +145,17 @@
     wait(1);
     #ifdef ROBOT_SMALL
     pc.printf("\nPetit robot\n\n");
+    ventouse[AV_GAUCHE] = new Ventouse(PB_7, PB_6, PC_0, AV_GAUCHE);
     ventouse[AR_CENTRE] = new Ventouse(PC_9, PA_8, PB_0, AR_CENTRE);
     ventouse[AR_DROIT] = new Ventouse(PA_9, PA_10,  PB_1, AR_DROIT);
     //ventouse[AR_BAS] = new Ventouse(PA_11, PA_15, PC_1, AR_BAS);
     ventouse[AR_BAS] = new Ventouse(PA_11, PC_1, AR_BAS);
-    ventouse[AV_GAUCHE] = new Ventouse(PB_7, PB_6, PC_0, AV_GAUCHE);
     
+    ventouse[AV_DROIT] = new Ventouse(PA_0, PA_1, PA_4, AV_DROIT);
     ventouse[AV_CENTRE] = new Ventouse(PC_7,PC_8 , PC_5, AV_CENTRE);
     ventouse[AR_GAUCHE] = new Ventouse(PB_10, PB_2, PC_4, AR_GAUCHE);
     //ventouse[AV_BAS] = new Ventouse(PA_6, PA_5, PA_7, AV_BAS); 
     ventouse[AV_BAS] = new Ventouse(PA_6, PA_7, AV_BAS); 
-    ventouse[AV_DROIT] = new Ventouse(PA_0, PA_1, PA_4, AV_DROIT);
     
 
     #endif