K.I.T.T. Scanner (Knight Rider)

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
okini3939
Date:
Mon Oct 18 14:28:02 2010 +0000
Commit message:

Changed in this revision

KITTScanner.lib Show annotated file Show diff for this revision Revisions of this file
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/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