Essai sur les Led

Dependencies:   mbed

main.cpp

Committer:
Mbochud
Date:
2014-06-20
Revision:
0:03ee02521233
Child:
1:2ba669406814

File content as of revision 0:03ee02521233:

#include "mbed.h"

DigitalOut myled(LED1);

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