parent
c7149f52f9
commit
14950664d9
|
@ -28,10 +28,9 @@ artnetUniverse = 0
|
||||||
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
|
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
|
||||||
|
|
||||||
tuple_ip = (str(get_eth0_ip()), 6454)
|
tuple_ip = (str(get_eth0_ip()), 6454)
|
||||||
|
|
||||||
artNet.art_pol_reply(tuple_ip)
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue