Files at this revision

API Documentation at this revision

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
diff -r 000000000000 -r a546ad6d73a0 main.cpp
--- /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);
+    }
+}
diff -r 000000000000 -r a546ad6d73a0 mbed.bld
--- /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