Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

main.cpp

Committer:
dupm2216
Date:
2017-02-09
Revision:
7:e5414568de93
Parent:
2:6e467e4978f9
Child:
8:5b1548305a7f

File content as of revision 7:e5414568de93:

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

DigitalOut myled(LED1);

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