 {
   float fPinValSum = 0;
   int iConnCount = 1; // Pins are always connected to themselves
-  
+
   for(int i=0; i<TOTAL_NUM_OF_PINS; i++)
   {
     // Checking what pins are connected to iPinNum

  // Initialize pins 0-13 as digital out pins
  for(int i=0; i<(TOTAL_NUM_OF_PINS-NUM_OF_ANALOG_PINS); i++)
  {
    g_aPins[i].is_analog = false;
    g_aPins[i].is_input = false;
    g_aPins[i].sensitivity = 0.5;
    g_aPins[i].is_inverted = false;

    
    updateBoardState();
    
   // delay(1000);
    
    aJsonObject *msg = getJsonBoardState();  
    
    aJsonStringStream stringStream(NULL, (char *)p, WEB_SOCKET_BUFFER_SIZE);
