Exemple fait en classe th4 du cours 247-637 (2017)
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:204d168becaa
- Parent:
- 0:669a6bff2494
diff -r 669a6bff2494 -r 204d168becaa main.cpp --- a/main.cpp Fri Sep 15 20:02:05 2017 +0000 +++ b/main.cpp Fri Sep 15 21:12:32 2017 +0000 @@ -1,25 +1,22 @@ #include "mbed.h" +#include "piloteBaseDeTemps.h" #include "processusUART.h" #include "processusExemple.h" #include "processusBouton.h" - void initialiseMain(void) { + initialisePiloteBaseDeTemps(); initialiseUART(); initialiseBouton(); initialiseExemple(); - } +} int main() { while(1) { - wait(1); - gereBouton(); - gereExemple(); - gereUART(); } }