Ganesh Gore
/
01_LED_Blink
Sample Code
Revision 0:b3c59d833033, committed 2014-05-17
- Comitter:
- ganeshgore
- Date:
- Sat May 17 15:43:53 2014 +0000
- Commit message:
- ExampleRevision;
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 b3c59d833033 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat May 17 15:43:53 2014 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +DigitalOut myled(p25); + +DigitalOut myled1(LED3); + +int main() { + while(1) { + myled = 1; + myled1 = 1; + wait(2); + myled = 0; + myled1 = 0; + wait(2); + } +} \ No newline at end of file
diff -r 000000000000 -r b3c59d833033 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat May 17 15:43:53 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file