Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

Committer:
dupm2216
Date:
Sun Feb 05 03:11:25 2017 +0000
Revision:
0:e7c4a5d26268
Child:
1:ed506b2298b4
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dupm2216 0:e7c4a5d26268 1 #include "mbed.h"
dupm2216 0:e7c4a5d26268 2
dupm2216 0:e7c4a5d26268 3 DigitalOut myled(LED1);
dupm2216 0:e7c4a5d26268 4
dupm2216 0:e7c4a5d26268 5 int main() {
dupm2216 0:e7c4a5d26268 6 while(1) {
dupm2216 0:e7c4a5d26268 7 myled = 1;
dupm2216 0:e7c4a5d26268 8 wait(0.2);
dupm2216 0:e7c4a5d26268 9 myled = 0;
dupm2216 0:e7c4a5d26268 10 wait(0.2);
dupm2216 0:e7c4a5d26268 11 }
dupm2216 0:e7c4a5d26268 12 }