This is the same blinky project, except it pulls the latest mbed library from github.

Fork of mbed_blinky by Mbed

main.cpp

Committer:
MACRUM
Date:
2017-12-25
Revision:
19:2157e25073b7
Parent:
4:81cea7a352b0

File content as of revision 19:2157e25073b7:

#include "mbed.h"

DigitalOut myled(LED1);

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