make mqtt config work for server
This commit is contained in:
parent
e70077071c
commit
b7c32efdbc
1 changed files with 4 additions and 2 deletions
|
@ -10,8 +10,10 @@ cls()
|
||||||
console("Welcome to pendu!")
|
console("Welcome to pendu!")
|
||||||
console("by Lorem Impsum Corp.")
|
console("by Lorem Impsum Corp.")
|
||||||
|
|
||||||
client = mqtt.client("Server", "mqtt.leizour.fr", 8883, true)
|
dofile("mqtt_config.lua")
|
||||||
client:connect("student", "O99Rq8$F12NXzhL5caya")
|
|
||||||
|
client = mqtt.client(client_name, "mqtt.leizour.fr", 8883, true)
|
||||||
|
client:connect("student", password)
|
||||||
|
|
||||||
playing = false
|
playing = false
|
||||||
won = false
|
won = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue