Blink a LED for the tinycortex board

Dependencies:   mbed

A blink a led for the Tinycortex board. More info: http://justanotherelectronicsblog.com/?p=124

main.cpp

Committer:
riktw
Date:
2015-08-11
Revision:
0:01a5c6ce11e9

File content as of revision 0:01a5c6ce11e9:

#include "mbed.h"
#include "pinout.h"

DigitalOut myled(LED1);

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