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

Dependencies:   mbed

main.cpp

Committer:
alainpegatoquet
Date:
2017-09-04
Revision:
0:4f83d63af624
Child:
1:9ef8f1f1261d

File content as of revision 0:4f83d63af624:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}