mbed_blinky program that uses the mbed-src-bmd-200 library instead of mbed
Dependencies: mbed-src-bmd-200
This program is intended to be a sample program when using the BMD-200 Evaluation Board. It should be used with the mbed-src-bmd-200 library. Select the Nordic nRF51822 as your platform.
Diff: main.cpp
- Revision:
- 0:47e0a395f3fd
diff -r 000000000000 -r 47e0a395f3fd main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Dec 19 21:05:07 2014 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}