                 Serial.println(num);
                 Serial.print("Remote IP:");
                 Serial.println(ip);
-
+                webSocket.sendTXT(num,"connected");
             }
             break;
         case WStype_TEXT:
 
 
             task = String((char *) &payload[0]);
-            webSocket.sendTXT(num, payload, lenght);
+            //webSocket.sendTXT(num, payload, lenght);
             break;
 
         case WStype_BIN:

        display_text("","Cut!");
        Serial.println("Cut now!");
        waitForJigEnable();
       /* code */
      }
    display_text("Done","Cutting");
    display_status("");
    delay(1000);
  }


  Wire.begin(OLED_SDA,OLED_SCL); // Set I2C pins for OLED display
  display.begin(SSD1306_SWITCHCAPVCC, 0x3C);  // initialize with the I2C addr 0x3D (for the 128x64)
  display.clearDisplay();
  display_logo();
  //
  // init done

