parent
88ae6c1cb2
commit
bb9f5c8f2a
|
@ -116,12 +116,11 @@ def mqtt_publisher(ti_receiver):
|
|||
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
|
||||
while True:
|
||||
try:
|
||||
tube_index = ti_receiver.recv()
|
||||
tube_index = tuple(ti_receiver.recv())
|
||||
except:
|
||||
tube_index = tube_index_old
|
||||
|
||||
tube_index_old = None
|
||||
print(tube_index)
|
||||
try:
|
||||
# Gets whatever the last Art-Net packet we received is
|
||||
artNetPacket = artNet.readPacket()
|
||||
|
|
Loading…
Reference in New Issue