Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Glove.h

Committer:
joseoyola
Date:
2014-12-15
Revision:
56:f95ec9baa4cb
Parent:
52:0f7a239cdd09

File content as of revision 56:f95ec9baa4cb:

#include "mbed.h"

#pragma once

struct Glove {
    float roll;
    float pitch;
    float yaw;
    int fingers[5]; //Finger 4 is thumb, Finger 0 is pinky. 
    float gyro[3];
    float magn[3];
    float accel[3];
    int lastPkgTime;
};