Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

main.cpp

Committer:
dupm2216
Date:
2017-02-09
Revision:
9:2d5e60c13461
Parent:
8:5b1548305a7f
Child:
10:2419cf5479c7

File content as of revision 9:2d5e60c13461:

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

DigitalOut myled(LED1);

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