added small sleeper

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-16 00:33:40 +01:00
parent 227b5d2b8d
commit 800292d7fd
+3 -1
View File
@@ -130,7 +130,9 @@ def start_mqtt_publishers():
# Publish the DMX value to the MQTT topic
mqtt_client.publish(topic, str(dmxPacket[i-1]))
except KeyboardInterrupt:
break
break
time.sleep(0.0001)
except Exception as e:
print(e)
except KeyboardInterrupt: