parent
fcc7b61605
commit
4e7754b3f7
|
@ -114,7 +114,7 @@ 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():
|
if ti_receiver.poll(0):
|
||||||
tube_index = ti_receiver.recv()
|
tube_index = ti_receiver.recv()
|
||||||
print(tube_index)
|
print(tube_index)
|
||||||
# try:
|
# try:
|
||||||
|
|
Loading…
Reference in New Issue