Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Committer:
joseoyola
Date:
Mon Dec 15 23:55:15 2014 +0000
Revision:
56:f95ec9baa4cb
Parent:
19:e751d075e2e6
Changes to LedCube.h and LedCube.cpp; ; Renamed ledCube.h and ledCube.cpp to LedCube.h and LedCube.cpp, added documentation to both, added logic to move cube to allow changing size regardless of current position.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kalbers 3:5f5d75cba8e1 1 #include "mbed.h"
kalbers 3:5f5d75cba8e1 2 #include "cc3000.h"
kalbers 3:5f5d75cba8e1 3 #include "TCPSocketConnection.h"
kalbers 3:5f5d75cba8e1 4
kalbers 13:c701f1122797 5 #pragma once
kalbers 13:c701f1122797 6
kalbers 13:c701f1122797 7 using namespace mbed_cc3000;
kalbers 13:c701f1122797 8
kalbers 3:5f5d75cba8e1 9 class GloveWifi
kalbers 3:5f5d75cba8e1 10 {
kalbers 3:5f5d75cba8e1 11 public:
kalbers 3:5f5d75cba8e1 12 GloveWifi();
kalbers 3:5f5d75cba8e1 13 ~GloveWifi();
kalbers 3:5f5d75cba8e1 14 void Init();
kalbers 3:5f5d75cba8e1 15 void Connect();
kalbers 3:5f5d75cba8e1 16 void Disconnect();
kalbers 15:b48ac00af0b8 17 void Reconnect();
kalbers 19:e751d075e2e6 18 int GetDataFromBuffer(char * buf, int size);
kalbers 3:5f5d75cba8e1 19 uint8_t SendDataToGlove(uint8_t * buf, uint16_t size);
kalbers 3:5f5d75cba8e1 20
kalbers 3:5f5d75cba8e1 21 private:
kalbers 13:c701f1122797 22 TCPSocketConnection * socket;
kalbers 3:5f5d75cba8e1 23 cc3000 * wifi;
kalbers 19:e751d075e2e6 24 uint32_t DropCount;
kalbers 3:5f5d75cba8e1 25
kalbers 3:5f5d75cba8e1 26 };