turn lights off

This commit is contained in:
j 2024-01-15 10:39:21 +01:00
parent f6d30d1fc0
commit 2782bb920d
1 changed files with 3 additions and 2 deletions

View File

@ -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()