Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 0:0838be30bd14, committed 2014-03-03
- Comitter:
- tim008
- Date:
- Mon Mar 03 08:31:35 2014 +0000
- Commit message:
- LV1-PAI-Grupa1-tim008
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 |
diff -r 000000000000 -r 0838be30bd14 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Mar 03 08:31:35 2014 +0000 @@ -0,0 +1,30 @@ +#include "mbed.h" + +DigitalOut myled1(LED1); +DigitalOut myled2(LED2); +DigitalOut myled3(LED3); +int main() { + while(1) { + myled1 = 1; + myled2 = 1; + myled3 = 1; + myled1 = 0; + wait(0.5); + + myled1 = 1; + myled2 = 0; + wait(0.5); + + myled2=0; + myled3 = 0; + wait(0.5); + + myled1 = 0; + wait(0.5); + + myled2 = 1; + wait(0.5); + + myled1 = 0; + } +}
diff -r 000000000000 -r 0838be30bd14 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Mar 03 08:31:35 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/8e73be2a2ac1 \ No newline at end of file