![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: DataGlove.h
- Revision:
- 3:5f5d75cba8e1
- Child:
- 13:c701f1122797
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DataGlove.h Fri Dec 05 21:35:37 2014 +0000 @@ -0,0 +1,23 @@ +#include "GloveWifi.h" + +class DataGlove +{ + public: + DataGlove(); + ~DataGlove(); + void Init(); + void Receive(); + int16_t finger1, finger2, finger3, finger4, finger5; + int16_t accelx, accely, accelz; + int16_t gyrox, gyroy, gyroz; + + private: + void Parse(); + uint8_t Buf[100]; + uint8_t SendBuf[20]; + int16_t notConnectedCount; + int numReceived; + GloveWifi GloveSocket; + + +}; \ No newline at end of file