carte esclave pompe 2020 V1

Dependencies:   mbed ident_crac

Revision:
24:3fb41d2b91af
Parent:
23:7f62f27c028f
diff -r 7f62f27c028f -r 3fb41d2b91af main.cpp
--- a/main.cpp	Mon Jul 13 11:31:08 2020 +0000
+++ b/main.cpp	Fri Jul 17 14:34:32 2020 +0000
@@ -105,13 +105,13 @@
     can.attach(&canRx_ISR); // création de l'interrupt attachée à la réception sur le CAN
     wait_ms(100);
     
-    ventouse[AR_DROIT] = new Ventouse(PB_7, PB_6, PC_0, AR_DROIT);
-    ventouse[AR_CENTRE] = new Ventouse(PC_9, PA_8, PB_0, AR_CENTRE);
-    ventouse[AR_GAUCHE] = new Ventouse(PA_9, PA_10,  PB_1, AR_GAUCHE);
+    ventouse[AV_DROIT] = new Ventouse(PB_7, PB_6, PC_0, AR_DROIT);
+    ventouse[AV_GAUCHE] = new Ventouse(PC_9, PA_8, PB_0, AR_CENTRE);
+    ventouse[AV_CENTRE] = new Ventouse(PA_9, PA_10,  PB_1, AR_GAUCHE);
     
-    ventouse[AV_DROIT] = new Ventouse(PA_0, PA_1, PA_4, AV_DROIT); //PA_6, PA_5, PA_7,
-    ventouse[AV_CENTRE] = new Ventouse(PB_10, PB_2, PC_4, AV_CENTRE);
-    ventouse[AV_GAUCHE] = new Ventouse(PC_7,PC_8 , PC_5, AV_GAUCHE);
+    ventouse[AR_DROIT] = new Ventouse(PA_0, PA_1, PA_4, AV_DROIT);
+    ventouse[AR_CENTRE] = new Ventouse(PB_10, PB_2, PC_4, AV_CENTRE);
+    ventouse[AR_GAUCHE] = new Ventouse(PC_7,PC_8 , PC_5, AV_GAUCHE);
     
     pc.printf("Launched carte ventouse");
     //on force les ventouses à être éteintes au début