my code update

Dependencies:   mbed

Fork of Cui_mia_team by pham the toan

main.cpp

Committer:
h4ck3r
Date:
2016-08-31
Revision:
1:16457a0d72ae
Parent:
0:3cafa5eeee75

File content as of revision 1:16457a0d72ae:

#include "mbed.h"

DigitalOut myled(LED1);

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