Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: CAN_asser.cpp
- Revision:
- 27:e103da412e2b
- Parent:
- 17:aae5361ddddf
--- a/CAN_asser.cpp Thu Jun 06 13:22:25 2019 +0000
+++ b/CAN_asser.cpp Thu Jun 06 14:22:58 2019 +0000
@@ -9,12 +9,20 @@
//Serial dbug(USBTX, USBRX, 115200); //PC
Serial dbug(PA_0, PA_1, 9600); //Module Bluetooth
-/*//Bonus fin de partie
-PwmOut bonus(PA_10);
+//********** CNY70 **********//
+/*
+
+CNY70 de gauche branché sur CNY 0 : le plus à droite (peut changer)
+CNY70 de droite branché sur CNY 1 : deuxième en partant de la droite (peut changer)
-//Disquette
-PwmOut Servo_Ballon(PB_7);
-PwmOut Mot_Ballon(PB_6);*/
+PINS:
+CNY 0 -> A2
+CNY 1 -> A3
+CNY 2 -> A4
+CNY 3 -> A5
+
+*/
+/**********************************/
/*dbug.printf("Gauche : %f\n\r",robot.getDist(Laser::Gauche));
dbug.printf("Droit : %f\n\r",robot.getDist(Laser::Droit));