Trying to use a library

Dependencies:   mbed-rtos mbed BlinkLib

Fork of NerfUS by NerfUS

Committer:
dupm2216
Date:
Thu Feb 09 16:31:14 2017 +0000
Revision:
8:5b1548305a7f
Parent:
7:e5414568de93
Child:
9:2d5e60c13461
Refactor to use library BlinkLib

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dupm2216 8:5b1548305a7f 1 #include "Blink.hpp"
dupm2216 0:e7c4a5d26268 2
dupm2216 8:5b1548305a7f 3 DigitalOut led(LED1);
dupm2216 0:e7c4a5d26268 4
Maxime Dupuis 2:6e467e4978f9 5 int main()
Maxime Dupuis 2:6e467e4978f9 6 {
Maxime Dupuis 2:6e467e4978f9 7 while(1)
Maxime Dupuis 2:6e467e4978f9 8 {
dupm2216 8:5b1548305a7f 9 blink(led);
dupm2216 0:e7c4a5d26268 10 }
dupm2216 0:e7c4a5d26268 11 }