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.

4-bit to 1-byte conversion script for DALI, DMX512 etc.
#2
(02.07.2015, 08:32)edgars Wrote: Resident script (sleep interval = 0), which is doing conversion from 4-bit to 1-byte

4-bit dimmer object adress is 1/1/1
1-byte output object adress is 1/1/2

By default, script will change value by 10% every 0.2 seconds when any kind of up/down telegram is received.
 
Code:
.....

I just cant make this work. I get an message: Lua syntax error at line 6: '=' expected near 'up'   It might just be too late at night...

edit:
Sorry.. just found the error... When copying your code RAW, and replacing it with my group addresses, something happened with the spaces.. When I deleted all space before code.. It worked.. adding space, still works?.. anyway, some copy-problems, works superb now.. thanks

Dont underestimate the Power of KNX
Darth Paul
Reply


Messages In This Thread
RE: 4-bit to 1-byte conversion script for DALI, DMX512 etc. - by DarthPaul - 16.09.2016, 21:25

Forum Jump: