Wahaj Aslam
/
beatnik
Beatnik
Revision 1:86e26b586df4, committed 2018-09-15
- Comitter:
- Wahaj
- Date:
- Sat Sep 15 23:02:57 2018 +0000
- Parent:
- 0:24b55a00fad7
- Commit message:
- base project
Changed in this revision
beatnik_main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show diff for this revision Revisions of this file |
--- a/beatnik_main.cpp Sat Sep 15 22:50:02 2018 +0000 +++ b/beatnik_main.cpp Sat Sep 15 23:02:57 2018 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" + +DigitalOut led1(LED1); + +// main() runs in its own thread in the OS +int main() { + while (true) { + led1 = !led1; + wait(0.5); + } +}
--- a/mbed.bld Sat Sep 15 22:50:02 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file