Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
5:37733f175430
Parent:
4:aaaadb45cbd9
Child:
6:df6d8ba1907a
--- a/main.cpp	Fri Sep 12 08:08:21 2014 +0000
+++ b/main.cpp	Fri Sep 12 11:43:36 2014 +0000
@@ -6,7 +6,7 @@
 #include "control.h"
 
 //BT_MASTER or BT_SLAVE
-#define DEVICE_ROLE BT_MASTER
+#define DEVICE_ROLE BT_SLAVE
 
 //Serial pc(USBTX, USBRX);   // tx, rx
  
@@ -14,9 +14,7 @@
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);
 DigitalOut led4(LED4);
- 
-DigitalOut myled1(LED1);
-DigitalOut myled2(LED2);
+
 
 void masterLoop(void);