jdgnr

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
nolanwagener
Date:
Mon Nov 18 00:03:15 2013 +0000
Commit message:
sdfg

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Nov 18 00:03:15 2013 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+ 
+DigitalOut myled(LED1);
+Serial bt(p9, p10); // tx, rx
+ 
+int main() {
+    int i=0;
+    while(1) {
+        myled = 1;
+        wait(0.5);
+ 
+        bt.printf("Hello World - %d !\r\n", i++);
+ 
+        myled = 0;
+        wait(0.5);
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Nov 18 00:03:15 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file