Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

main.cpp

Committer:
dupm2216
Date:
2017-02-05
Revision:
0:e7c4a5d26268
Child:
1:ed506b2298b4

File content as of revision 0:e7c4a5d26268:

#include "mbed.h"

DigitalOut myled(LED1);

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