Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
0:4f07ba929908
Child:
1:e1cfb5850088
--- /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