From 4faee4d43da1e9a953627f5d1920e97c552bece6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 15 Feb 2024 11:58:46 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index c4dbce7..ab74b72 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -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