Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 16:30:09 +01:00
parent 42295c9d9e
commit d69126b840
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ artNet = Artnet.Artnet(DEBUG = True)
while True:
try:
# Gets whatever the last Art-Net packet we received is
artNetPacket = artNet.artnet_packet_to_array()
print(str(artNetPacket))
artNetPacket = artNet.readPacket()
# Make sure we actually *have* a packet
if artNetPacket is not None and artNetPacket.data is not None:
# Checks to see if the current packet is for the specified DMX Universe