turn lights off
This commit is contained in:
parent
f6d30d1fc0
commit
2782bb920d
1 changed files with 3 additions and 2 deletions
|
@ -96,8 +96,9 @@ def fade_to(target, duration):
|
|||
CURRENT_STATE = sender[1].dmx_data[:16]
|
||||
time.sleep(step)
|
||||
steps -= 1
|
||||
CURRENT_STATE = sender[1].dmx_data = [0] * 16
|
||||
time.sleep(1)
|
||||
sender[1].dmx_data = [0] * 16
|
||||
CURRENT_STATE = [0] * 16
|
||||
time.sleep(0.1)
|
||||
sender.stop()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue