Programme de test à priori fonctionnel avec la version 2018 de la carte

Dependencies:   PwmIn mbed Encoder_Nucleo_16_bits

Revision:
12:ee9e5009f7ce
Parent:
11:df0957bf8f16
--- a/main.cpp	Mon Mar 09 05:54:45 2020 +0000
+++ b/main.cpp	Mon Mar 09 05:58:48 2020 +0000
@@ -531,8 +531,8 @@
         switch (MENU_choix-'0') {
 
             case 1 :
-                Pc.printf ("\n\n\rTest des captreurs Ultrason\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\n\n\rUltrasonic sensors check: \n");
+                Pc.printf ("\rHit Enter to quit \n");
                 do {
 
                     if (FlagTickLed) {
@@ -582,21 +582,21 @@
 
             case 2 :
                 Pc.printf ("\n\n\rBoussole\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\rHit Enter to quit \n");
 
-                Pc.printf ("\n\rVerif du bus I2C :");
+                Pc.printf ("\n\r I2C check:");
                 I2C_check = Bus_I2C.write (BOUSSOLE_adress,BOUSSOLE_status,1,false);
                 if (I2C_check==0) {
                     Pc.printf (" OK\n");
                     Bus_I2C.write(BOUSSOLE_adress,BOUSSOLE_status, 1, true);
                     Bus_I2C.read (BOUSSOLE_adress,I2C_registerValue,4);
-                    Pc.printf ("\rVersion Firmware boussole : %03d\n", I2C_registerValue[0]);
+                    Pc.printf ("\rCOMPASS Firmware version: %03d\n", I2C_registerValue[0]);
                 } else {
                     Pc.printf (" FAIL\n");
                 }
 
                 BOUSSOLE_periode = PWMB.period();
-                Pc.printf ("\rVerif de la PWM :");
+                Pc.printf ("\rPWM check:");
                 if ((BOUSSOLE_periode > 0.11) || (BOUSSOLE_periode < 0.06)) {
                     Pc.printf (" FAIL\n\n");
                 } else {
@@ -629,7 +629,7 @@
 
             case 3 :
                 Pc.printf ("\n\n\rGP2xx\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\rHit Enter to quit \n");
                 do {
                     if (FlagTickLed) {
                         Led1 = !Led1;
@@ -680,7 +680,7 @@
 
             case 4 :
                 Pc.printf ("\n\n\rCNY70\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\rHit Enter to quit \n");
                 do {
                     if (FlagTickLed) {
                         Led1 = !Led1;
@@ -697,8 +697,8 @@
                 break;
 
             case 5 :
-                Pc.printf ("\n\n\rVbat\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\n\n\rVbat \n");
+                Pc.printf ("\rHit Enter to quit \n");
                 do {
                     if (FlagTickLed) {
                         Led1 = !Led1;
@@ -826,7 +826,7 @@
 
             case 8 :
                 Pc.printf ("\n\n\rServo Moteur\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\rHit Enter to quit \n");
 
                 do {
                     if (FlagTickLed) {
@@ -860,7 +860,7 @@
 
             case 9 :
                 Pc.printf ("\n\n\rPixy\n");
-                Pc.printf ("\rAppuyez sur Entree pour quitter\n");
+                Pc.printf ("\rHit Enter to quit \n");
 
                 if (Pixy_check == 0)    Pc.printf ("\n\rPIXY is ALIVE\n");
                 else                    Pc.printf ("\n\rPIXY don't talk\n");