ble in serial

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
gav998
Date:
Wed May 30 19:31:42 2018 +0000
Commit message:
myProg

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	Wed May 30 19:31:42 2018 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+InterruptIn int_ble(PB_4);
+Serial ble(PC_10,PC_11);
+
+int main()
+{
+    ble.baud(57600);
+    while(1) {
+        ble.printf("BBBB"); 
+        ble.printf("%02X%02X%02X\n",0x17,0x22,0x23); 
+        wait(1);
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed May 30 19:31:42 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/5aab5a7997ee
\ No newline at end of file