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 with LM5p - errors
#3
First, make sure that you are using this updated DMX library:
https://gist.github.com/jsopenrb/f97f85f...c6766aae6a

Do not make any changes in the library, but change parameters in DMX.init (note that it must be DMX.init not DMX:init):
Code:
dmxhandler = DMX.init({
  port = '/dev/RS485-1',
  channels = 3,
  transition = 2,
  resolution = 10,
})

Since you have a lot of channels, you have to lower the resolution parameter to decrease CPU load.

For the second line, you have to add skey = 'dmx_line_2' parameter, otherwise both lines will use the same storage key thus the same channel values.
Reply


Messages In This Thread
DMX with LM5p - errors - by tss68nl - 27.06.2017, 20:39
RE: DMX with LM5p - errors - by tss68nl - 27.06.2017, 22:27
RE: DMX with LM5p - errors - by admin - 28.06.2017, 06:20
RE: DMX with LM5p - errors - by tss68nl - 03.07.2017, 09:03
RE: DMX with LM5p - errors - by admin - 03.07.2017, 09:15
RE: DMX with LM5p - errors - by tss68nl - 19.08.2017, 16:52
RE: DMX with LM5p - errors - by admin - 19.08.2017, 17:39
RE: DMX with LM5p - errors - by tss68nl - 19.08.2017, 18:59
RE: DMX with LM5p - errors - by admin - 21.08.2017, 08:11
RE: DMX with LM5p - errors - by tss68nl - 21.08.2017, 09:29

Forum Jump: