Exemple fait en classe th4 du cours 247-637 (2017)

Dependencies:   mbed

main.cpp

Committer:
YROY2004
Date:
2017-09-15
Revision:
0:669a6bff2494
Child:
1:204d168becaa

File content as of revision 0:669a6bff2494:

#include "mbed.h"

#include "processusUART.h"
#include "processusExemple.h"
#include "processusBouton.h"



void initialiseMain(void)
{
    initialiseUART();
    initialiseBouton();
    initialiseExemple();
    }


int main()
{
    while(1) {
        wait(1);
        gereBouton();
        gereExemple();
        gereUART();
    }
}