Hello World program using the mbed library sources
Revision 0:025eafdfcf59, committed 2013-06-14
- Comitter:
- mbed_official
- Date:
- Fri Jun 14 17:05:20 2013 +0000
- Child:
- 1:42e1ebbd4775
- Commit message:
- Hello World program using the mbed library sources
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed-src.lib | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 14 17:05:20 2013 +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); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-src.lib Fri Jun 14 17:05:20 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed-src/#3bc89ef62ce7