Fork of DigitalOut_HelloWorld

Fork of DigitalOut_HelloWorld by mbed_example

Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing

main.cpp

Committer:
mbedAustin
Date:
2014-09-20
Revision:
2:b4e2eee99a28
Parent:
0:b5a9e0614efd
Child:
3:29debdbea629

File content as of revision 2:b4e2eee99a28:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;  // turn myled on
        wait(0.2);
        myled = 0;  // turn myled off
        wait(0.2);
    }
}