gyo

Revision:
1:8810976be033
Parent:
0:afe58893bfe7
Child:
2:1472e7c5317d
--- a/SBDBT.h	Sat May 06 02:12:51 2017 +0000
+++ b/SBDBT.h	Sat May 06 02:32:51 2017 +0000
@@ -1,5 +1,5 @@
-#ifndef INCLUDED_SBDBT_h_
-#define INCLUDED_SBDBT_h_
+#ifndef INCLDUED_SBDBT_h_
+#define INCLDUED_SBDBT_h_
 #include "mbed.h"
 
 namespace raven
@@ -9,19 +9,21 @@
     {
         private:
         char i;
+        char length;
+        char value;
+        char position;
         
         public:
-        char data[8];
-        char olddata[8];
+        char *data;
+        char *olddata;
         char flag;
         Serial *sr;
         
         SBDBT(PinName, PinName);
-        char check();
-        void getd();
+        SBDBT(PinName, PinName, int);
+        void getf();
         ~SBDBT();
     };
     
-    
 }//namespace
 #endif
\ No newline at end of file