Refactor MQTT client initialization to use a variable

This commit is contained in:
Lukian 2025-01-23 14:08:13 +01:00
parent fe39f982ea
commit b8b2c558b1

View file

@ -1,4 +1,4 @@
mqtt.client("100", "mqtt.leizoour.fr", 8883, true)
client = mqtt.client("100", "mqtt.leizoour.fr", 8883, true)
client:connect("student", "O99Rq8$F12NXzhL5caya")
-- CLK (clock) : D19