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 StrategieLib BrasLib AnalyseDistanceLib BrasPousserLib EcranLib PompeLib DemarreurLib Asservissment_robot2_v16_05 AnalyseArcLib
Diff: main.cpp
- Revision:
- 9:84aa5301e669
- Parent:
- 8:c1439c88858d
- Child:
- 10:36c10392b5aa
--- a/main.cpp Wed May 29 10:38:28 2019 +0000
+++ b/main.cpp Wed May 29 11:22:07 2019 +0000
@@ -62,11 +62,11 @@
robot.initialisation();
- AnalogIn Ain(A5);
+ /*AnalogIn Ain(A5);
if(Ain.read() < 0.68f)
{
return 0;
- }
+ }*/
pc.printf("SystemCoreClock is %d Hz\r\n", SystemCoreClock);
@@ -78,9 +78,9 @@
/*setEmplacementTest();
init_odometrie();
- typeEvitement = RECTANGLE;
+ typeEvitement = ARRET;
wait(10);
- robot.va_au_point(100000,30000,0.0);*/
+ robot.ligne_droite_basique(110000);*/
while(1)
{
if(detectionUltrasons)