Mai Takahashi
/
mbed_blinky2
LED TEST
●LEDを点灯させる
Revision 0:6bee2a217426, committed 2014-08-27
- Comitter:
- Dance
- Date:
- Wed Aug 27 04:46:02 2014 +0000
- Commit message:
- LED TEST
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 6bee2a217426 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Aug 27 04:46:02 2014 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(1); + myled = 0; + wait(1); + } +}
diff -r 000000000000 -r 6bee2a217426 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Aug 27 04:46:02 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804 \ No newline at end of file