 //char g_acConnA0_TO_3[] = "{\"status\":\"OK\",\"connections\":[{\"source\":\"14\",\"target\":\"3\"},{\"source\":\"15\",\"target\":\"5\"}]}";
 
 char g_acPin13_On_3_Analog[] = "{\"status\":\"OK\",\"pins\":{ \"13\":{\"label\":\"Pin 13\",\"is_analog\":\"false\",\"is_input\":\"false\",\"value\":\"1\"}, \"3\":{\"label\":\"Pin 3\",\"is_analog\":\"true\",\"is_input\":\"false\",\"value\":\"0.0\"}  }}";
-char g_acConnA0_TO_3[] = "{\"status\":\"OK\",\"connections\":[{\"source\":\"14\",\"target\":\"3\"}]}";
+char g_acConnA0_TO_3[] = "{\"status\":\"OK\",\"connections\":[{\"source\":\"14\",\"target\":\"3\"},{\"source\":\"15\",\"target\":\"3\"}]}";
 int g_iDebugState = 0;
 
 

float getTotalPinAnalogValue(int _iPinNum)
{
  float fPinValSum = 0;
  
  for(int i=0; i<TOTAL_NUM_OF_PINS; i++)
  {
    // Checking what pins are connected to iPinNum
    if(g_aPins[_iPinNum].connections[i])
    {
      fPinValSum += g_aPins[i].value;  
      Serial.print(i); Serial.print(" --> "); Serial.println(_iPinNum);
      Serial.print("Value: "); Serial.println(fPinValSum);
    }    
  }
  
  if(fPinValSum > 1.0)
    fPinValSum = 1.0;
  
  return fPinValSum;
}

int getTotalPinDigitalValue(int _iPinNum)
{ 
  for(int i=0; i<TOTAL_NUM_OF_PINS; i++)
  {
    // Checking what pins are connected to iPinNum
    if(g_aPins[_iPinNum].connections[i])
    {
      if(g_aPins[i].value == 1.0)
        return 1.0;
    }    
  }
  
  return 0.0;
}

// Get the board state and return a JSON object

        snprintf(g_acMessage,sizeof(g_acMessage),g_acPin13_On_3_Analog);  
        processMessage(g_acMessage);
        g_iDebugState = 1;
      break;
      
      case 1:
        snprintf(g_acMessage,sizeof(g_acMessage),g_acConnA0_TO_3);  
        processMessage(g_acMessage);   
        g_iDebugState = 2;       
      break;
      
      default:
