Modificación para implementar SoftSerial

Dependents:   neurGAI_Seeed_BLUETOOTH TFG

Fork of BluetoothSerial by Yihui Xiong

Revision:
1:267fd413fd16
Parent:
0:f56002898ee8
--- a/BluetoothSerial.h	Thu Feb 20 03:30:43 2014 +0000
+++ b/BluetoothSerial.h	Wed Dec 09 11:16:13 2015 +0000
@@ -6,6 +6,7 @@
 #define __BLUETOOTH_SERIAL_H__
 
 #include "mbed.h"
+#include "SoftSerial.h"
 
 #define BLUETOOTH_SERIAL_DEFAULT_BAUD       38400
 #define BLUETOOTH_SERIAL_TIMEOUT            10000
@@ -62,7 +63,7 @@
     void clear();
     int readline(uint8_t *buf, int len, uint32_t timeout = 0);
     
-    Serial     _serial;
+    SoftSerial _serial;
     uint8_t    _buf[64];  
 };