led blinky example

Dependencies:   mbed

Fork of mbed_blinky_3 by richard misi

main.cpp

Committer:
RCMISbed
Date:
2018-08-09
Revision:
1:147c352ea3f6
Parent:
0:21ff47307aba
Child:
2:16a42f4b1a64

File content as of revision 1:147c352ea3f6:

#include "mbed.h"

DigitalOut myled(LED3);

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