The example program for mbed pin-compatible platforms

Dependencies:   mbed-src

Fork of mbed_blinky by Mbed

main.cpp

Committer:
thudt90
Date:
2015-03-12
Revision:
7:5925f107fe83
Parent:
4:81cea7a352b0

File content as of revision 7:5925f107fe83:

#include "mbed.h"

DigitalOut myled(LED1);

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