Junichi Nagayama
/
SIST-3
SIST mbed training lesson #3
Revision 0:a546ad6d73a0, committed 2011-01-14
- Comitter:
- junTMUG
- Date:
- Fri Jan 14 14:35:23 2011 +0000
- Commit message:
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 Jan 14 14:35:23 2011 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut motor(p21); + +int main() { + while(1) { + motor = 1; + wait(1.0); + motor = 0; + wait(1.0); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jan 14 14:35:23 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e