added debugger

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-15 23:41:52 +01:00
parent 62c8c751fd
commit eb13e44e30
1 changed files with 2 additions and 3 deletions

View File

@ -12,10 +12,11 @@ def get_eth0_ip():
print(f"Error getting eth0 IP: {e}")
exit
debug = True
debug = False
### ArtNet Config ###
artnetBindIp = str(get_eth0_ip())
# artnetBindIp = "10.0.0.4"
artnetUniverse = 0
### Art-Net Setup ###
@ -36,8 +37,6 @@ while True:
# Print a newline so things look nice :)
else:
print("Did not receive specified universe. The received universe was universe: "+str(artNetPacket.universe))
time.sleep(0.1)
except KeyboardInterrupt:
break