From 42295c9d9ed92434623f595924090493b8b64065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 16:29:32 +0100 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index c8873a2..2f9f192 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -30,7 +30,8 @@ artNet = Artnet.Artnet(DEBUG = True) while True: try: # Gets whatever the last Art-Net packet we received is - artNetPacket = artNet.readPacket() + artNetPacket = artNet.artnet_packet_to_array() + print(str(artNetPacket)) # 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