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

Fork of mbed_blinky by Mbed

main.cpp

Committer:
switches
Date:
2018-04-26
Revision:
21:eedcaeffd5ad
Parent:
4:81cea7a352b0

File content as of revision 21:eedcaeffd5ad:

#include "mbed.h"

DigitalOut myled(LED1);

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