From 7b965ffe422cbca836bd383b635f5807ea06bb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 15 Feb 2024 11:34:42 +0100 Subject: [PATCH] get type universe 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 37d57da..cd61439 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -21,7 +21,8 @@ artnetBindIp = get_eth0_ip() artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454) tuple_ip = (str(get_eth0_ip()), 6454) artNet.art_pol_reply(tuple_ip) -print(type(artNet.universe())) +artNetPacket = artNet.readPacket() +print(type(artNetPacket.universe())) # while True: # try: # # Gets whatever the last Art-Net packet we received is