tube index globalisation

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 17:12:12 +01:00
parent dfdac3897b
commit d6e06901d3
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ def mqtt_publisher():
artnetBindIp = get_eth0_ip()
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
while True:
global TUBE_INDEX
try:
# Gets whatever the last Art-Net packet we received is
artNetPacket = artNet.readPacket()