Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

main.cpp

Committer:
Maxime Dupuis
Date:
2017-02-04
Revision:
2:6e467e4978f9
Parent:
1:ed506b2298b4
Child:
7:e5414568de93

File content as of revision 2:6e467e4978f9:

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

DigitalOut myled(LED1);

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