code avec modifs, programme mit dans les robots pour les derniers matchs

Dependencies:   mbed SerialHalfDuplex SDFileSystem liaison_Bluetooth ident_crac DISCO-F469NI_portrait

Revision:
36:c37dbe2be916
Parent:
35:2a745eeb7922
Child:
37:ee2c72e76d9c
Child:
38:9d6a3ccc0582
--- a/Compteur_points/Compteur.cpp	Fri May 21 16:19:18 2021 +0000
+++ b/Compteur_points/Compteur.cpp	Mon May 31 13:36:03 2021 +0000
@@ -119,7 +119,7 @@
             
     //chenal vert port ext bleu  
     else if((x_robot+x_offset >= 1700-DEMI_GOBELET)&&(x_robot+x_offset <= 2000+DEMI_GOBELET)
-            && (y_robot+y_offset >= 1650-DEMI_GOBELET)&&(y_robot+y_offset <= 1750+DEMI_GOBELET)) gobelet_vert++;               
+            && (y_robot+y_offset >= 1650-DEMI_GOBELET)&&(y_robot+y_offset <= 1750+DEMI_GOBELET)) gobelet_vert++;         
     //chenal rouge port ext bleu  
     else if((x_robot+x_offset >= 1700-DEMI_GOBELET)&&(x_robot+x_offset <= 2000+DEMI_GOBELET)
             && (y_robot+y_offset >= 1850-DEMI_GOBELET)&&(y_robot+y_offset <= 1950+DEMI_GOBELET)) gobelet_rouge++;