Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-15 11:58:46 +01:00
parent aa1e1e708e
commit 4faee4d43d
1 changed files with 5 additions and 2 deletions

View File

@ -29,9 +29,12 @@ while True:
artNetPacket = artNet.readPacket()
# Make sure we actually *have* a packet
if artNetPacket is not None and artNetPacket.data is not None:
print("Universe: "+str(artNetPacket.universe))
if artNetPacket.universe == 0:
print("YES")
else:
print("Universe: "+str(artNetPacket.universe))
# Stores the packet data array
dmxPacket = artNetPacket.data
# dmxPacket = artNetPacket.data
except KeyboardInterrupt:
break