parent
4e7754b3f7
commit
a06d203245
|
@ -114,9 +114,8 @@ def mqtt_publisher(ti_receiver):
|
||||||
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:
|
||||||
if ti_receiver.poll(0):
|
tube_index = ti_receiver.recv()
|
||||||
tube_index = ti_receiver.recv()
|
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
|
||||||
# artNetPacket = artNet.readPacket()
|
# artNetPacket = artNet.readPacket()
|
||||||
|
|
Loading…
Reference in New Issue