The example program for mbed pin-compatible platforms

Dependencies:   mbed

Fork of mbed_blinky by Mbed

main.cpp

Committer:
riki
Date:
2014-04-24
Revision:
6:3464e961b9f6
Parent:
4:81cea7a352b0

File content as of revision 6:3464e961b9f6:

#include "mbed.h"

DigitalOut myled(LED1);

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