zxp james / helloword

Dependencies:   C12832

Files at this revision

API Documentation at this revision

Comitter:
z_james
Date:
Sun Jun 07 08:08:33 2015 +0000
Commit message:
hha;

Changed in this revision

C12832.lib Show annotated file Show diff for this revision Revisions of this file
helloword.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832.lib	Sun Jun 07 08:08:33 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/askksa12543/code/C12832/#990d5eec2ef6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/helloword.cpp	Sun Jun 07 08:08:33 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+#include "C12832.h"
+ 
+DigitalOut myled(LED1);
+ 
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
\ No newline at end of file