f
This commit is contained in:
parent
3fb12a58a8
commit
b1471f27be
@ -51,7 +51,7 @@ client.connect(broker, port=port)
|
|||||||
client.loop_start() #start the loop
|
client.loop_start() #start the loop
|
||||||
|
|
||||||
while Connected != True: #Wait for connection
|
while Connected != True: #Wait for connection
|
||||||
time.sleep(0.1)
|
time.sleep(1)
|
||||||
|
|
||||||
client.subscribe(topic)
|
client.subscribe(topic)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user