![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LUIS
Diff: main.cpp
- Revision:
- 0:fcc396b03bbe
diff -r 000000000000 -r fcc396b03bbe main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Oct 05 14:55:14 2018 +0000 @@ -0,0 +1,24 @@ +#include "mbed.h" +#include "fct.h" +#define LAVABRE 5 + +int main() { + + init(); + wait(LAVABRE); + Timer t1; + t1.start(); + int count=0; + while(count<5) + { + pc.printf("TOUR %0.3f\n\r",t1.read()); + t1.reset(); + get_position(); + wait(2); + count++; + } +} + + + +