12.06.2025, 17:17
(This post was last modified: 12.06.2025, 17:21 by Erwin van der Zwart.)
Unlike the 6 byte that requires a table to be passed is the 3 byte an integer (you can check this by logging the value it reports)
Just use:
or
Just use:
Code:
grp.write('2/7/42', 0xFFA33A)
Code:
r = 255
g = 163
b = 58
rgb = lmcore.hextoint(lmcore.inttohex(r,1) .. lmcore.inttohex(g,1) .. lmcore.inttohex(b,1))
grp.write('2/7/42', rgb)