aa

Files at this revision

API Documentation at this revision

Comitter:
com3
Date:
Thu Jul 11 10:43:27 2013 +0000
Commit message:
ogata

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 b145ea9e6320 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jul 11 10:43:27 2013 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+DigitalIn mysw(p7);
+
+int main() {
+    mysw.mode(PullUp);
+    while(1) {
+        myled = mysw;
+        //wait(0.2);
+    }
+}
diff -r 000000000000 -r b145ea9e6320 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Jul 11 10:43:27 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17
\ No newline at end of file