parent
2738acff07
commit
41aa327a11
|
@ -130,9 +130,7 @@ def start_mqtt_publishers():
|
||||||
# Publish the DMX value to the MQTT topic
|
# Publish the DMX value to the MQTT topic
|
||||||
mqtt_client.publish(topic, str(dmxPacket[i-1]))
|
mqtt_client.publish(topic, str(dmxPacket[i-1]))
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
|
||||||
time.sleep(0.001)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in New Issue