parent
aa1e1e708e
commit
4faee4d43d
|
@ -29,9 +29,12 @@ while True:
|
||||||
artNetPacket = artNet.readPacket()
|
artNetPacket = artNet.readPacket()
|
||||||
# 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:
|
||||||
|
if artNetPacket.universe == 0:
|
||||||
|
print("YES")
|
||||||
|
else:
|
||||||
print("Universe: "+str(artNetPacket.universe))
|
print("Universe: "+str(artNetPacket.universe))
|
||||||
# Stores the packet data array
|
# Stores the packet data array
|
||||||
dmxPacket = artNetPacket.data
|
# dmxPacket = artNetPacket.data
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue