The Hiking Pal tracking device firmware. See full description on the detail page: https://www.hackster.io/bowenfeng/hiking-pal-v1-07c02d

Dependencies:   FXOS8700CQ MODSERIAL mbed

Fork of Avnet_ATT_Cellular_IOT by Avnet

Revision:
12:7c94ec5069dc
Parent:
4:f83bedd9cab4
Child:
55:3abf9e3f42e6
--- a/sensors.h	Tue Jul 12 03:11:05 2016 +0000
+++ b/sensors.h	Tue Jul 12 21:56:51 2016 +0000
@@ -1,3 +1,6 @@
+#ifndef __SENSORS_H_
+#define __SENSORS_H_
+
 void sensors_init(void);
 void read_sensors(void);
 
@@ -20,21 +23,6 @@
     char  Humidity_Si7020[SENSOR_FIELD_LEN_LIMIT];
 } K64F_Sensors_t ;
 
-static K64F_Sensors_t  SENSOR_DATA =
-{
-    .Temperature        = "0",
-    .Humidity           = "0",
-    .AccelX             = "0",
-    .AccelY             = "0",
-    .AccelZ             = "0",
-    .MagnetometerX      = "0",
-    .MagnetometerY      = "0",
-    .MagnetometerZ      = "0",
-    .AmbientLightVis    = "0",
-    .AmbientLightIr     = "0",
-    .UVindex            = "0",
-    .Proximity          = "0",
-    .Temperature_Si7020 = "0",
-    .Humidity_Si7020    = "0"
-};
+extern K64F_Sensors_t  SENSOR_DATA;
 
+#endif
\ No newline at end of file