parent
2c264ac6d6
commit
688876903a
|
@ -116,6 +116,7 @@ def mqtt_publisher(shared_mem):
|
||||||
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
|
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454)
|
||||||
while True:
|
while True:
|
||||||
tube_index = list(bytes(shared_mem.buf[:24]).decode())
|
tube_index = list(bytes(shared_mem.buf[:24]).decode())
|
||||||
|
print(tube_index)
|
||||||
try:
|
try:
|
||||||
# Gets whatever the last Art-Net packet we received is
|
# Gets whatever the last Art-Net packet we received is
|
||||||
artNetPacket = artNet.readPacket()
|
artNetPacket = artNet.readPacket()
|
||||||
|
|
Loading…
Reference in New Issue