This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

dmx
#12
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
Reply


Messages In This Thread
dmx - by rw_echo - 22.03.2023, 02:44
RE: dmx - by admin - 22.03.2023, 08:17
RE: dmx - by rw_echo - 22.03.2023, 09:35
RE: dmx - by admin - 22.03.2023, 09:43
RE: dmx - by rw_echo - 23.03.2023, 01:53
RE: dmx - by admin - 23.03.2023, 05:45
RE: dmx - by rw_echo - 24.03.2023, 06:33
RE: dmx - by admin - 24.03.2023, 08:41
RE: dmx - by rw_echo - 24.03.2023, 13:46
RE: dmx - by admin - 24.03.2023, 13:49
RE: dmx - by rw_echo - 25.03.2023, 07:37
RE: dmx - by admin - 27.03.2023, 05:48

Forum Jump: