   ,
 
   { 
-    NULL, NULL, 0, 0                                     } /* terminator */
+    NULL, NULL, 0, 0                                           } /* terminator */
 };
 
 void sighandler(int sig)

      aJsonObject *poLabel = aJson.getObjectItem(poPinVals, "label");
      if (poLabel)
      {
        snprintf(sPinState, sizeof(sPinState), "%s", poLabel->valuestring);
        Serial.println(sPinState);
      }

      aJsonObject *poIsAnalog = aJson.getObjectItem(poPinVals, "is_analog");
      if (poIsAnalog)
      {
        snprintf(sPinState, sizeof(sPinState), "%i", poIsAnalog->valuebool);
        Serial.println(sPinState);
      }       
   
      aJsonObject *poIsInput = aJson.getObjectItem(poPinVals, "is_input");
      if (poIsInput)
      {
        snprintf(sPinState, sizeof(sPinState), "%i", poIsInput->valuebool);
        Serial.println(sPinState);
      }
      
      aJsonObject *poValue = aJson.getObjectItem(poPinVals, "value");
      if (poValue)
      {
        snprintf(sPinState, sizeof(sPinState), "%f", poValue->valuefloat);
        Serial.println(sPinState);
      }
       
       /* 
//        g_aPins[i].is_analog = poLabel->valuebool;
      // g_aPins[i].label[PIN_LABEL_SIZE] = 

      aJsonObject *poIsAnalog = aJson.getObjectItem(poPinVals, "is_analog");
      if (poPinVals)
        g_aPins[i].is_analog = poIsAnalog->valuebool;
*/

      // g_aPins[i].is_input = 


    {
      /*
      Serial.print("Pin ");
       Serial.print(pinstr);
       Serial.println(" found");
       */

      char sPinState[128];
      Serial.println("Pin Data: ");
