CUED IIA Project
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GATT_Example by
Diff: sensors.h
- Revision:
- 23:708cc5ef2604
- Child:
- 24:baa43caa2f3d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sensors.h Wed May 31 22:13:36 2017 +0000 @@ -0,0 +1,36 @@ +#include "mbed.h" + +#ifndef SENSORS_H +#define SENSORS_H + +typedef struct { + + uint16_t flex[12]; + uint16_t acc[2][6]; + + } Datapacket; + +typedef struct { + + uint8_t pixels[8]; + + } Screen; + +void readflex(Datapacket data); + + +void readacc(Datapacket data); + +void setup(void); + + + + + + + + + + + +#endif