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.
Revision 0:47e0a395f3fd, committed 2014-12-19
- Comitter:
- dcnichols
- Date:
- Fri Dec 19 21:05:07 2014 +0000
- Commit message:
- mbed blinky program using the mbed library for the BMD-200 Evaluation Board
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed-src-bmd-200.lib | Show annotated file Show diff for this revision Revisions of this file |
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); + } +}
diff -r 000000000000 -r 47e0a395f3fd mbed-src-bmd-200.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-src-bmd-200.lib Fri Dec 19 21:05:07 2014 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/teams/Rigado/code/mbed-src-bmd-200/#7257f52b2453