Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MODSERIAL mbed-rtos mbed
Fork of Master by
Diff: bluetooth.cpp
- Revision:
- 0:4f07ba929908
- Child:
- 1:e1cfb5850088
diff -r 000000000000 -r 4f07ba929908 bluetooth.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetooth.cpp Thu Sep 11 10:15:34 2014 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "bluetooth.h"
+
+
+void btSetupMaster(void) //setup master
+{
+ btMaster.baud(9600);
+ btMaster.printf("$$$");
+ wait(0.5);
+ btMaster.printf("C\r");
+ wait(0.5);
+}
+
+void btSetupSlave(void)
+{
+}
\ No newline at end of file
