parent
6ef512f1a5
commit
d9cfdaacd0
|
@ -27,7 +27,9 @@ artnetUniverse = 0
|
||||||
# Creates Artnet socket on the selected IP and Port
|
# Creates Artnet socket on the selected IP and Port
|
||||||
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
|
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
|
||||||
|
|
||||||
artNet.art_pol_reply(("10","0","0","228"))
|
tuple_ip = tuple(str(get_eth0_ip()).split(".")[:-1])
|
||||||
|
|
||||||
|
artNet.art_pol_reply(tuple_ip, 6454)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue