NerfUS_cmake_cleanup

Dependencies:   mbed-rtos mbed

Fork of NerfUS by NerfUS

main.cpp

Committer:
Maxime Dupuis
Date:
2017-02-09
Revision:
9:4731e16b1359
Parent:
7:e5414568de93

File content as of revision 9:4731e16b1359:

#include "mbed.h"
#include "rtos.h"

DigitalOut myled(LED1);

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