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.
Fork of Timer by
Diff: main.cpp
- Revision:
- 64:24e1057a97f7
- Parent:
- 58:02dc8328975a
- Child:
- 65:7bf11abfefc3
diff -r 176d04975f06 -r 24e1057a97f7 main.cpp
--- a/main.cpp Wed May 04 21:51:00 2016 +0000
+++ b/main.cpp Thu May 05 01:30:14 2016 +0200
@@ -62,20 +62,10 @@
/* Debut du programme */
int main(void)
{
- //logger.printf("Depart homologation !\n\r");
- //homologation();
- logger.printf("Homming ...\n\r");
- controlleurPince.home();
- wait(1);
- controlleurPince.setPos(10.f,0.f,0.f);
- wait(1);
- controlleurPince.setPos(20.f,0.f,0.f);
- wait(1);
- controlleurPince.setPos(70.f,0.f,0.f);
- wait(1);
- controlleurPince.setPos(20.f,0.f,0.f);
- logger.printf("Done ...\n\r");
-
+ map m(&odo, NULL, controlleurPince, VERT, 1);
+ m.Build();
+ m.Execute(1);
+ m.Execute();
/*drapeau = 0;
init();
