Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

main.cpp

Committer:
dupm2216
Date:
2017-02-05
Revision:
1:ed506b2298b4
Parent:
0:e7c4a5d26268
Child:
2:6e467e4978f9

File content as of revision 1:ed506b2298b4:

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

DigitalOut myled(LED1);

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