parent
651eab50ba
commit
c4f4dc8efc
|
@ -33,9 +33,9 @@ while True:
|
||||||
artNet.art_pol_reply(tuple_ip)
|
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()
|
||||||
print("Packet: "+artNetPacket)
|
print("Packet: "+str(artNetPacket))
|
||||||
print("Universe: "+artNetPacket.universe)
|
print("Universe: "+str(artNetPacket.universe))
|
||||||
print("Data: "+artNetPacket.data)
|
print("Data: "+str(artNetPacket.data))
|
||||||
print(" ")
|
print(" ")
|
||||||
# Make sure we actually *have* a packet
|
# Make sure we actually *have* a packet
|
||||||
if artNetPacket is not None and artNetPacket.data is not None:
|
if artNetPacket is not None and artNetPacket.data is not None:
|
||||||
|
|
Loading…
Reference in New Issue