8000 add Gitter · mbarclabs/arduinoWebSockets@082f519 · GitHub
[go: up one dir, main page]

Skip to content

Commit 082f519

Browse files
committed
add Gitter
fix examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino
1 parent fb47a92 commit 082f519

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ a WebSocket Server and Client for Arduino based on RFC6455.
2828
### Issues ###
2929
Submit issues to: https://github.com/Links2004/arduinoWebSockets/issues
3030

31+
[![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)
32+
3133
### License and credits ###
3234

3335
The library is licensed under [LGPLv2.1](https://github.com/Links2004/arduinoWebSockets/blob/master/LICENSE)

examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t lenght
6060
}
6161

6262
void setup() {
63-
USE_SERIAL.begin(921600);
64-
//USE_SERIAL.begin(115200);
63+
//USE_SERIAL.begin(921600);
64+
USE_SERIAL.begin(115200);
6565

66-
USE_SERIAL.setDebugOutput(true);
66+
//USE_SERIAL.setDebugOutput(true);
6767

6868
USE_SERIAL.println();
6969
USE_SERIAL.println();
@@ -94,7 +94,7 @@ void setup() {
9494
webSocket.onEvent(webSocketEvent);
9595

9696
if(MDNS.begin("esp8266")) {
97-
Serial.println("MDNS responder started");
97+
USE_SERIAL.println("MDNS responder started");
9898
}
9999

100100
// handle index

0 commit comments

Comments
 (0)
0