mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-12 23:16:29 +02:00
disable debug
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
var connection = new WebSocket('ws://10.11.2.1:81/test', ['esp8266']);
|
||||
|
||||
connection.onopen = function () {
|
||||
connection.send('Message from Browser to ESP8266 yay its Working!!');
|
||||
connection.send('Message from Browser to ESP8266 yay its Working!! ' + new Date());
|
||||
connection.send('ping');
|
||||
};
|
||||
|
||||
@ -18,7 +18,7 @@ connection.onmessage = function (e) {
|
||||
};
|
||||
|
||||
setInterval(function() {
|
||||
connection.send('Message from Browser to ESP8266 yay its Working!!');
|
||||
connection.send('Message from Browser to ESP8266 yay its Working!! ' + new Date());
|
||||
}, 10000);
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user