Switched from ESPWebServer and WebSocketsServer to ESPAsyncWebServer.

This commit is contained in:
2019-10-23 06:22:53 +02:00
parent a902addf94
commit 141210a370
8 changed files with 197 additions and 160 deletions

View File

@ -13,7 +13,7 @@ def rgb2ansi(r, g, b)
end
IP = ARGV[0]
uri = "ws://#{IP}:81"
uri = "ws://#{IP}:80/ws"
puts "Connecting to #{uri}..."
EM.run do