parent
688876903a
commit
830b5932cf
|
@ -115,7 +115,7 @@ def mqtt_publisher(shared_mem):
|
||||||
artnetBindIp = get_eth0_ip()
|
artnetBindIp = get_eth0_ip()
|
||||||
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 = bytes(shared_mem.buf[:24]).decode()
|
||||||
print(tube_index)
|
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
|
||||||
|
|
Loading…
Reference in New Issue