Suga koubou
/
KittScanner_sample
K.I.T.T. Scanner (Knight Rider)
Revision 0:42b00699500c, committed 2010-10-18
- Comitter:
- okini3939
- Date:
- Mon Oct 18 14:28:02 2010 +0000
- Commit message:
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/KITTScanner.lib Mon Oct 18 14:28:02 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/okini3939/code/KITTScanner/#bb116abfe905
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 18 14:28:02 2010 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "KITTScanner.h" + +KITTScanner kitt; + +int main() { + for (;;) { + kitt.start(); + wait(10); + kitt.stop(); + wait(2); + + kitt.start(0.5); + wait(5); + kitt.stop(1); + wait(2); + + kitt.start(1); + wait(10); + kitt.stop(); + wait(2); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Oct 18 14:28:02 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e