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