LUIS

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "fct.h"
00003 #define LAVABRE 5
00004 
00005 int main() {
00006 
00007    init();
00008     wait(LAVABRE);
00009    Timer t1;
00010    t1.start();
00011    int count=0;
00012     while(count<5)
00013     {
00014         pc.printf("TOUR %0.3f\n\r",t1.read());
00015         t1.reset();     
00016         get_position();
00017         wait(2);
00018         count++;
00019     }
00020 }
00021 
00022 
00023 
00024