 
   case LWS_CALLBACK_RECEIVE:
 
-    Serial.println("Cleaning Protocol");
+    Serial.println("Process Incomming Messag");
 
     // **********************************
     // Process Data Receieved from the Website

  // 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;

{
  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
