****
Dependencies: mbed
Revision 0:b9764c4c1160, committed 2015-10-09
- Comitter:
- knut_johan
- Date:
- Fri Oct 09 15:09:58 2015 +0000
- Commit message:
- l?reboka;
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 b9764c4c1160 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Oct 09 15:09:58 2015 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +DigitalOut redled(PA_5); +DigitalOut greenled(PA_6); + +int main() +{ + while(1) { // while loop + redled=1; + greenled=0; + wait(0.5); + redled=0; + greenled=1; + wait(0.5); + } // end while loop +} \ No newline at end of file
diff -r 000000000000 -r b9764c4c1160 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Oct 09 15:09:58 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/34e6b704fe68 \ No newline at end of file