test
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
@@ -30,7 +30,8 @@ artNet = Artnet.Artnet(DEBUG = True)
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
# Gets whatever the last Art-Net packet we received is
|
# 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
|
# Make sure we actually *have* a packet
|
||||||
if artNetPacket is not None and artNetPacket.data is not None:
|
if artNetPacket is not None and artNetPacket.data is not None:
|
||||||
# Checks to see if the current packet is for the specified DMX Universe
|
# Checks to see if the current packet is for the specified DMX Universe
|
||||||
|
|||||||
Reference in New Issue
Block a user