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.

luadmx library
#2
luadmx functions:
Code:
dmx = require('luadmx').open(port) -- open port and create DMX instance

dmx:send() -- send current channel values to DMX

dmx:setchannel(channel, value) -- set channel (1..512) to the given value (0..255)

value = dmx:getchannel(channel) -- get channel (1..512) value

dmx:setcount(count) -- set number of channels to send (1..512)

count = dmx:getcount() -- get number of channels to send

dmx:setall(value) -- set all channels to the given value (0..255)
Reply


Messages In This Thread
luadmx library - by AndrejHanus - 10.02.2021, 18:49
RE: luadmx library - by admin - 15.02.2021, 08:25
RE: luadmx library - by managementboy - 16.02.2021, 07:52
RE: luadmx library - by admin - 16.02.2021, 07:55

Forum Jump: