Programme de test pour LPC1768 (affichage de LED avec tempo)

Dependencies:   mbed

main.cpp.orig

Committer:
alainpegatoquet
Date:
2017-09-06
Revision:
4:36752a79e890

File content as of revision 4:36752a79e890:

#include "mbed.h"
#include "const.h"

DigitalOut myled(LED1);
DigitalOut myled1(LED3);

int main()
{
    while(1) {
        myled1 = 1;
        myled2 = 0;
        wait(TEMPO1);
        myled1 = 0;
        myled2 = 1;
        wait(TEMPO2);
    }
}