LUIS

Dependencies:   mbed

main.cpp

Committer:
pirottealex
Date:
2018-10-05
Revision:
0:fcc396b03bbe

File content as of revision 0:fcc396b03bbe:

#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++;
    }
}