Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Committer:
naren
Date:
Thu Dec 11 21:22:42 2014 +0000
Revision:
52:0f7a239cdd09
Parent:
40:bdd949fc3bc2
Added finger bending as color changes; ; Need to figure out the analog change

Who changed what in which revision?

UserRevisionLine numberNew contents of line
naren 36:4a58639da6cf 1 #include "mbed.h"
naren 36:4a58639da6cf 2
naren 36:4a58639da6cf 3 #pragma once
naren 36:4a58639da6cf 4
naren 36:4a58639da6cf 5 struct Glove {
naren 52:0f7a239cdd09 6 float roll;
naren 52:0f7a239cdd09 7 float pitch;
naren 52:0f7a239cdd09 8 float yaw;
naren 52:0f7a239cdd09 9 int fingers[5]; //Finger 4 is thumb, Finger 0 is pinky.
naren 52:0f7a239cdd09 10 float gyro[3];
naren 52:0f7a239cdd09 11 float magn[3];
naren 52:0f7a239cdd09 12 float accel[3];
naren 36:4a58639da6cf 13 int lastPkgTime;
naren 36:4a58639da6cf 14 };
robertbui 40:bdd949fc3bc2 15