From 082f5192c046a933ef19185f5ba6cd76349ee049 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Fri, 27 Nov 2015 00:44:52 +0100 Subject: [PATCH] add Gitter fix examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino --- README.md | 2 ++ .../WebSocketServer_LEDcontrol.ino | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8655250..29d652b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ a WebSocket Server and Client for Arduino based on RFC6455. ### Issues ### Submit issues to: https://github.com/Links2004/arduinoWebSockets/issues +[![Join the chat at https://gitter.im/Links2004/arduinoWebSockets](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Links2004/arduinoWebSockets?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + ### License and credits ### The library is licensed under [LGPLv2.1](https://github.com/Links2004/arduinoWebSockets/blob/master/LICENSE) diff --git a/examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino b/examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino index b95d12e..96a74ac 100644 --- a/examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino +++ b/examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino @@ -60,10 +60,10 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t lenght } void setup() { - USE_SERIAL.begin(921600); - //USE_SERIAL.begin(115200); + //USE_SERIAL.begin(921600); + USE_SERIAL.begin(115200); - USE_SERIAL.setDebugOutput(true); + //USE_SERIAL.setDebugOutput(true); USE_SERIAL.println(); USE_SERIAL.println(); @@ -94,7 +94,7 @@ void setup() { webSocket.onEvent(webSocketEvent); if(MDNS.begin("esp8266")) { - Serial.println("MDNS responder started"); + USE_SERIAL.println("MDNS responder started"); } // handle index