FRC_equipe1 / Mbed 2 deprecated FRC_2019

Dependencies:   mbed

Revision:
13:9c62e263f245
Parent:
9:2113adf37c66
Child:
16:05665faaa489
--- a/CAN_asser.cpp	Thu May 23 21:26:08 2019 +0000
+++ b/CAN_asser.cpp	Tue May 28 06:48:54 2019 +0000
@@ -6,7 +6,26 @@
 int nb_msg_can = 0;
 
 CAN can(PB_8, PB_9,1000000); 
-Serial dbug(USBTX, USBRX, 115200);
+//Serial dbug(USBTX, USBRX, 115200); //PC
+Serial dbug(PA_0, PA_1, 9600); //Module Bluetooth
+
+/*//Bonus fin de partie
+PwmOut bonus(PA_10);
+
+//Disquette
+PwmOut Servo_Ballon(PB_7);
+PwmOut Mot_Ballon(PB_6);*/
+
+/*dbug.printf("Gauche : %f\n\r",robot.getDist(Laser::Gauche));
+dbug.printf("Droit : %f\n\r",robot.getDist(Laser::Droit));
+sauter_lignes(25);
+wait_ms(1500);*/
+
+/*void sauter_lignes(int nb_lignes)
+{
+    for(unsigned i=0; i<nb_lignes; ++i)
+        dbug.printf("\n\r");   
+}*/
 
 void can_init(void)
 {