Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
2:c610e1a7fbcd
Parent:
1:e1cfb5850088
Child:
3:12e1f116ea42
diff -r e1cfb5850088 -r c610e1a7fbcd bluetooth.cpp
--- a/bluetooth.cpp	Thu Sep 11 14:42:49 2014 +0000
+++ b/bluetooth.cpp	Thu Sep 11 15:09:05 2014 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "bluetooth.h"
+#include "control.h"
 
 Serial bt(p13, p14);  // tx, rx
 
@@ -16,5 +17,17 @@
     else{
     //if this device is the slave
         ;           //nothing to do
+}
+/*
+void btLoop(int role)
+{
+    if( role==BT_MASATER ){
+    //if this device is the master
+        
     }
-}
\ No newline at end of file
+    else{
+    //if this device is the slave
+        
+    }
+}
+*/
\ No newline at end of file