The default Hello World program, used when you create a new program
Dependents: stateScript dc_motor mbed_blinkylook ElektronikerSchnupperlehreAufgabe1
Revision 0:fb6bbc10ffa0, committed 2011-01-16
- Comitter:
- simon
- Date:
- Sun Jan 16 16:44:31 2011 +0000
- Child:
- 1:03c191369089
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | 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 Sun Jan 16 16:44:31 2011 +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.bld Sun Jan 16 16:44:31 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e