forked from Links2004/arduinoWebSockets
add Gitter
fix examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino
This commit is contained in:
@ -28,6 +28,8 @@ a WebSocket Server and Client for Arduino based on RFC6455.
|
|||||||
### Issues ###
|
### Issues ###
|
||||||
Submit issues to: https://github.com/Links2004/arduinoWebSockets/issues
|
Submit issues to: https://github.com/Links2004/arduinoWebSockets/issues
|
||||||
|
|
||||||
|
[](https://gitter.im/Links2004/arduinoWebSockets?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
### License and credits ###
|
### License and credits ###
|
||||||
|
|
||||||
The library is licensed under [LGPLv2.1](https://github.com/Links2004/arduinoWebSockets/blob/master/LICENSE)
|
The library is licensed under [LGPLv2.1](https://github.com/Links2004/arduinoWebSockets/blob/master/LICENSE)
|
||||||
|
@ -60,10 +60,10 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t lenght
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
USE_SERIAL.begin(921600);
|
//USE_SERIAL.begin(921600);
|
||||||
//USE_SERIAL.begin(115200);
|
USE_SERIAL.begin(115200);
|
||||||
|
|
||||||
USE_SERIAL.setDebugOutput(true);
|
//USE_SERIAL.setDebugOutput(true);
|
||||||
|
|
||||||
USE_SERIAL.println();
|
USE_SERIAL.println();
|
||||||
USE_SERIAL.println();
|
USE_SERIAL.println();
|
||||||
@ -94,7 +94,7 @@ void setup() {
|
|||||||
webSocket.onEvent(webSocketEvent);
|
webSocket.onEvent(webSocketEvent);
|
||||||
|
|
||||||
if(MDNS.begin("esp8266")) {
|
if(MDNS.begin("esp8266")) {
|
||||||
Serial.println("MDNS responder started");
|
USE_SERIAL.println("MDNS responder started");
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle index
|
// handle index
|
||||||
|
Reference in New Issue
Block a user