Rick McConney
/
StarterKit
GSMA version
Fork of AvnetATT_shape_hackathon by
Diff: sensors.h
- Revision:
- 46:733edf15f9e8
- Parent:
- 45:fe90f1fcb4e0
--- a/sensors.h Wed Nov 30 14:50:16 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#ifndef __SENSORS_H_ -#define __SENSORS_H_ - -void sensors_init(void); -void read_sensors(void); - -#define SENSOR_FIELD_LEN_LIMIT 32 -typedef struct -{ - char Temperature[SENSOR_FIELD_LEN_LIMIT]; - char Humidity[SENSOR_FIELD_LEN_LIMIT]; - char AccelX[SENSOR_FIELD_LEN_LIMIT]; - char AccelY[SENSOR_FIELD_LEN_LIMIT]; - char AccelZ[SENSOR_FIELD_LEN_LIMIT]; - char MagnetometerX[SENSOR_FIELD_LEN_LIMIT]; - char MagnetometerY[SENSOR_FIELD_LEN_LIMIT]; - char MagnetometerZ[SENSOR_FIELD_LEN_LIMIT]; - char AmbientLightVis[SENSOR_FIELD_LEN_LIMIT]; - char AmbientLightIr[SENSOR_FIELD_LEN_LIMIT]; - char UVindex[SENSOR_FIELD_LEN_LIMIT]; - char Proximity[SENSOR_FIELD_LEN_LIMIT]; - char Temperature_Si7020[SENSOR_FIELD_LEN_LIMIT]; - char Humidity_Si7020[SENSOR_FIELD_LEN_LIMIT]; -} K64F_Sensors_t ; - -extern K64F_Sensors_t SENSOR_DATA; - -#endif \ No newline at end of file