|
|
|
|
@ -4,10 +4,10 @@ import leglight
|
|
|
|
|
# print(allLights)
|
|
|
|
|
# for light in allLights:
|
|
|
|
|
# light.off()
|
|
|
|
|
left = leglight.LegLight('192.168.68.107',9123)
|
|
|
|
|
right = leglight.LegLight('192.168.68.108',9123)
|
|
|
|
|
left = leglight.LegLight('192.168.68.100',9123)
|
|
|
|
|
right = leglight.LegLight('192.168.68.101',9123)
|
|
|
|
|
|
|
|
|
|
if sys.argv[1] == 'bright':
|
|
|
|
|
if sys.argv[1] == 'brighten':
|
|
|
|
|
print('bright')
|
|
|
|
|
left.brightness(100)
|
|
|
|
|
right.brightness(100)
|
|
|
|
|
|