Temp Fork

Dependencies:   MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed

Fork of CubicHand by Model-Based Team

Revision:
19:e751d075e2e6
Parent:
18:6737bf53ccd1
Child:
22:0cc5b7e55419
--- a/DataGlove.h	Mon Dec 08 18:56:42 2014 +0000
+++ b/DataGlove.h	Mon Dec 08 23:54:33 2014 +0000
@@ -27,8 +27,8 @@
 	private:
         uint8_t SendBuf[20];
         int16_t notConnectedCount;
-		int8_t numReceived;
-	    uint8_t Buf[256], buffer[256];
+		long numReceived;
+	    char Buf[256], buffer[256];
 	    bool raw;
 	    unsigned char bcc;
 	    int pkglen, u;
@@ -45,6 +45,7 @@
     private:
 		void Parse();
 		void StreamData(uint8_t DataType);
+		void StopSampling();
 		void ExtractFingersQuat();
 		void ExtractQuat();
 		void ExtractFingersRaw();