v7

Dependents:   robot_final

Revision:
8:9d0e8da27044
Parent:
7:fa09588320d0
Child:
9:aff70d8f388a
--- a/Robot.cpp	Thu Mar 16 14:58:24 2017 +0000
+++ b/Robot.cpp	Sat Mar 18 15:07:10 2017 +0000
@@ -98,56 +98,62 @@
                 }
             }
             
+            case 'i' :
+            {
+                this->pattern.rectangle();
+                break;
+            }
+            
             // led
-            case 'i' :
+            case 'j' :
             {
                 this->led.K1000(1);
                 break;
             }
             
-            case 'j' :
+            case 'k' :
             {
                 this->led.K2000(1);
                 break;
             }
             
-            case 'k' :
+            case 'l' :
             {
                 this->led.K3000(1);
                 break;
             }
             
-            case 'l' :
+            case 'm' :
             {
                 this->led.K4000(1);
                 break;
             }
             
-            case 'm' :
+            case 'n' :
             {
                 this->led.LED_desynchrone(1);
                 break;
             }
             
-              case 'n' :
+              case 'o' :
             {
                 this->led.LED_Blinking(DigitalOut (LED1),1);
                 break;
             }
             
-             case 'o' :
+             case 'p' :
             {
                 this->led.LED_Blinking(DigitalOut (LED2),1);
                 break;
             }
             
-             case 'p' :
+             case 'q' :
             {
                 this->led.LED_Blinking(DigitalOut (LED3),1);
                 break;
             }
             
-             case 'q' :
+             case 'r' :
             {
                 this->led.LED_Blinking(DigitalOut (LED4),1);
                 break;
@@ -156,7 +162,7 @@
             
             // affichage
             
-             case 'r' :
+             case 's' :
             {
                 this->affichage.bonjour();
                 break;