Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
DataGlove.h
- Committer:
- kalbers
- Date:
- 2014-12-06
- Revision:
- 13:c701f1122797
- Parent:
- 3:5f5d75cba8e1
- Child:
- 14:0c4a26dc6873
File content as of revision 13:c701f1122797:
#include "GloveWifi.h"
#pragma once
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;
};

