Benoît Roussel / Mbed 2 deprecated test_algo

Dependencies:   mbed

Revision:
1:8c488662e000
Parent:
0:9eb40ee5ff41
diff -r 9eb40ee5ff41 -r 8c488662e000 direction.h
--- a/direction.h	Fri May 31 09:41:29 2019 +0000
+++ b/direction.h	Fri May 31 11:01:18 2019 +0000
@@ -15,7 +15,7 @@
 PwmOut pwm_servo_direction(PE_6); 
 
 // Liaison série de la liaison bluetooth
-Serial ComBT(PD_5,PD_6,115200);
+//Serial ComBT(PD_5,PD_6,115200);
 
 // Nombres entre 0 et 200
 // Format : a 147 (angle)
@@ -42,7 +42,7 @@
      int t1 = ((Tmin_direction-Tmax_direction)*p/2+Tmax_direction)*1000;
      pwm_servo_direction.pulsewidth_us(t1);
 }
-
+/*
 // Fonction permettant de récupérer la commande par bluetooth
 void recuperer(char* data_direction){
     int i=0;
@@ -84,7 +84,7 @@
             }
         // Pourcentage de la vitesse
         pv=((float)v_com)/100.0;
-    }
+    }*/
 
 void setup_direction(){
     //Initialisation de la PWM de direction