parent
87b946b9d3
commit
b7c92e8867
|
@ -30,7 +30,6 @@ artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelT
|
||||||
tuple_ip = (str(get_eth0_ip()), 6454)
|
tuple_ip = (str(get_eth0_ip()), 6454)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
artNet.art_pol_reply(tuple_ip)
|
|
||||||
# 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()
|
||||||
# Make sure we actually *have* a packet
|
# Make sure we actually *have* a packet
|
||||||
|
@ -53,8 +52,6 @@ while True:
|
||||||
# Print a newline so things look nice :)
|
# Print a newline so things look nice :)
|
||||||
print("")
|
print("")
|
||||||
|
|
||||||
time.sleep(0.1)
|
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue