Omar Hagrass / Mbed 2 deprecated mbed_blinky12

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Hagrass
Date:
Mon Aug 17 11:17:31 2015 +0000
Commit message:
gjhgv;

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 aece59f1e125 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Aug 17 11:17:31 2015 +0000
@@ -0,0 +1,60 @@
+#include "mbed.h"
+
+//DigitalOut myled(LED1);
+Serial xbee(p9,p10);
+int z=240;
+int main() {
+    xbee.baud(115200);
+    while(1) {
+   // wait(2);
+    xbee.printf(".");
+    
+    xbee.printf("p");
+ wait(0.01);
+    xbee.printf("1");
+    wait(0.01);
+    xbee.printf("2");
+    wait(0.01);
+    xbee.printf("3");
+     wait(0.01);
+    xbee.printf("4");
+     wait(0.01);
+    xbee.printf(".");
+     
+    xbee.printf("t");
+   wait(0.01);
+    xbee.printf("1");
+   wait(0.01);
+    xbee.printf("2");
+     wait(0.01);
+    xbee.printf("3");
+    wait(0.01);
+    xbee.printf("4");
+    wait(0.01);
+    xbee.printf(".");
+    wait(0.01);
+    xbee.printf("h");
+     wait(0.01);
+    xbee.printf("1");
+     wait(0.01);
+    xbee.printf("2");
+     wait(0.01);
+    xbee.printf("3");
+     wait(0.01);
+    xbee.printf("4");
+    wait(0.01);
+    xbee.printf(".");
+    wait(0.01);
+    xbee.printf("e");
+     wait(0.01);
+    xbee.printf("1");
+     wait(0.01);
+    xbee.printf("2");
+     wait(0.01);
+    xbee.printf("3");
+     wait(0.01);
+    xbee.printf("4");
+    wait(0.01);
+    }
+    
+}
diff -r 000000000000 -r aece59f1e125 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Aug 17 11:17:31 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b9ad9a133dc7
\ No newline at end of file