Exo

Dependencies:   IHM_V2 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "Nboard.h"
00002 IHM ihm;
00003 Timer timer;
00004 void fct_a_mesurer();
00005 int main()
00006 {
00007     float time=0.0 ;
00008     timer.start();
00009     fct_a_mesurer();
00010     timer.stop();
00011     time=timer.read();
00012     ihm.LCD_gotoxy(1,0);
00013     ihm.LCD_printf("%f  ",time);
00014 
00015 }
00016 
00017 
00018 
00019     void fct_a_mesurer() {
00020         ihm.LCD_clear();
00021         ihm.LCD_gotoxy(0,0);
00022         ihm.LCD_printf("I'm in ");
00023     }