mbed blinker code

Dependencies:   mbed

main.cpp

Committer:
jmoreno10
Date:
2018-11-06
Revision:
2:9610d7afd4e3
Parent:
1:60c416914fc0

File content as of revision 2:9610d7afd4e3:

// Version 2

#include "mbed.h"

DigitalOut myled(LED1);

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

// comment in Version 2