dfcxfgcff

Fork of mbed-os-example-blinky by aston aston

main.cpp

Committer:
wbqaston
Date:
2016-12-27
Revision:
2:ac654b930ed9
Parent:
1:9e60464b3c72

File content as of revision 2:ac654b930ed9:

#include "mbed.h"

DigitalOut led1(LED1);

// main() runs in its own thread in THE OS
// (note THE calls to Thread::wait below for delays)
int main() {
    while (true) {
        led1 = !led1;
        Thread::wait(500);
    }
//version test
}