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:
64:09004cd610df
Parent:
63:90d7c69993cd
Child:
68:6e311c747045
--- a/main.cpp	Mon Aug 01 20:19:58 2016 +0000
+++ b/main.cpp	Mon Aug 01 23:32:55 2016 +0000
@@ -116,7 +116,7 @@
     if ((beginquote != 0))
     {
         char cLedColor = beginquote[strlen(token)];
-        printf(GRN "LED Found : %c" DEF "\r\n", cLedColor);
+        PRINTF(GRN "LED Found : %c" DEF "\r\n", cLedColor);
         switch(cLedColor)
         {
             case 'O':
@@ -176,7 +176,7 @@
     static unsigned ledOnce = 0;
 
     pc.baud(115200);
-    pc.printf(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n");
+    PRINTF(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n");
 
     //Initialize the I2C sensors that are present
     sensors_init();
@@ -185,7 +185,7 @@
     // Set LED to RED until init finishes
     SetLedColor(0x1); //Red
     // Initialize the modem
-    pc.printf("\r\n");
+    PRINTF("\r\n");
     cell_modem_init();
     // Set LED BLUE for partial init
     SetLedColor(0x4); //Blue