Minimale Veränderungen in Btbee; Die Datenübertragung funktioniert nicht hunderprozentig, v.a. wenn mehrere Bytes übertragen werden.

Fork of btbee by Nikolas Goldin

Revision:
6:cf8611463f79
Parent:
2:12c38a710982
diff -r 12c38a710982 -r cf8611463f79 btbee.h
--- a/btbee.h	Thu May 16 14:01:24 2013 +0000
+++ b/btbee.h	Tue Jun 28 09:23:51 2016 +0000
@@ -1,10 +1,11 @@
 #include "mbed.h"
 #include "platform.h"
-
+ 
 #define FACTORY_BAUD 9600
 #define DEFAULT_BAUD 115200
 #define AT_BAUD 38400
-
+ 
+// this is a test comment
 class btbee: public Serial{
  public: 
   btbee(PinName respin, PinName tx, PinName rx);
@@ -14,7 +15,9 @@
   void factory_baud(void);
   void default_baud(void);
   int read_all(char*,const int, int*);
-
+  int read_line(char*,const int, int*);
+ 
  protected:
   DigitalOut reset_out;
-};
\ No newline at end of file
+};
+            
\ No newline at end of file