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

{
  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


  case LWS_CALLBACK_RECEIVE:

    Serial.println("Process Incomming Messag");

    // **********************************
    // Process Data Receieved from the Website
