From 651eab50babc13ea270297ecb9066f131eb77922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 18:33:05 +0100 Subject: [PATCH] added some debugging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index bb46bc0..91aea50 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -33,6 +33,10 @@ while True: artNet.art_pol_reply(tuple_ip) # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket() + print("Packet: "+artNetPacket) + print("Universe: "+artNetPacket.universe) + print("Data: "+artNetPacket.data) + print(" ") # 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