![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Meins
Dependencies: mbed
Revision 0:1f1f815cafa5, committed 2015-10-30
- Comitter:
- PinguPanda
- Date:
- Fri Oct 30 12:28:03 2015 +0000
- Commit message:
- 30.10.2015;
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 Fri Oct 30 12:28:03 2015 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" + +DigitalOut myled1(LED1,1); +DigitalOut myled2(LED2,1); +BusOut bo2Bits(LED3,LED4); +int main() { + wait(2); + int a = 0; + while(1) + { + myled1=1; + wait(0.2); + myled1=0; + if(a++ %4 ==0) + myled2=!myled2; + wait(0.2); + bo2Bits =bo2Bits+1; + } + +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Oct 30 12:28:03 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11 \ No newline at end of file