27.03.2023, 05:48
Create an event script with "Execution mode" set to "Last instance only" (2023 firmware required). If you only want to change the R channel of RGBW then change step to 4.
Code:
value = event.getvalue()
if not value then
return
end
require('user.dmx')
channels = 512
delay = 2 -- in seconds
step = 1
while true do
for channel = 1, channels, step do
DMX.set(channel, 255)
os.sleep(delay)
DMX.set(channel, 0)
os.sleep(delay)
end
end