turn off after trigger

This commit is contained in:
j 2023-12-19 13:25:56 +00:00
parent 1342571e91
commit 4c8dd82525

View file

@ -95,6 +95,7 @@ def fade_to(target, duration):
CURRENT_STATE = sender[1].dmx_data[:16] CURRENT_STATE = sender[1].dmx_data[:16]
time.sleep(step) time.sleep(step)
steps -= 1 steps -= 1
CURRENT_STATE = sender[1].dmx_data = [0] * 16
time.sleep(1) time.sleep(1)
sender.stop() sender.stop()