Tutorial for first mbed project

Dependencies:   mbed lib_workshop_2019

Revision:
5:d99659a45cab
Parent:
1:7a8764e627b5
Child:
6:9e03c9ae243b
--- a/includes/pin_connexions.h	Wed Oct 23 19:25:12 2019 +0000
+++ b/includes/pin_connexions.h	Thu Oct 24 03:54:20 2019 +0000
@@ -18,6 +18,10 @@
 typedef unsigned short  Word;
 typedef unsigned long   lWord;
 
+
+/****************************************/
+/* TO DO 1 : Declare the Serial connexion */
+/****************************************/
 Serial      Pc      (PA_2, PA_3, 115200);
 
 /****************************************/
@@ -36,13 +40,13 @@
 /**     Motor by PWM declarations       **/
 /*          To be completed             */ 
 
-DigitalOut  DIR_1G      (PC_9);
-DigitalOut  DIR_2G      (PC_8);
-DigitalOut  DIR_1D      (PC_6);
-DigitalOut  DIR_2D      (PC_5);
+DigitalOut  DIR_1L     (PC_9);
+DigitalOut  DIR_2L      (PC_8);
+DigitalOut  DIR_1R      (PC_6);
+DigitalOut  DIR_2R      (PC_5);
 
-PwmOut      Pwm_MG      (PA_9);
-PwmOut      Pwm_MD      (PA_8);
+PwmOut      Pwm_ML      (PA_9);
+PwmOut      Pwm_MR      (PA_8);
 
 /**  End of Motor by PWM declarations  **/
 /****************************************/