diff --git a/examples/mqtt.py b/examples/mqtt.py index bde8a5d..7340edc 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -51,7 +51,7 @@ client.connect(broker, port=port) client.loop_start() #start the loop while Connected != True: #Wait for connection - time.sleep(0.1) + time.sleep(1) client.subscribe(topic)