V0

main.cpp

Committer:
gr91
Date:
2020-05-19
Revision:
1:83025977f52e
Parent:
0:b4a900df72eb

File content as of revision 1:83025977f52e:

#include "mbed.h"
Timer temps;
Serial pc(SERIAL_TX, SERIAL_RX,9600);  // Vitesse 9600 bauds
int main()
{
    temps.start();
    pc.printf("Hello world\r\n");
    temps.stop();
    pc.printf("duree mesuree : %d\r\n",temps.read_us());
    while(1);
}