30.01.2023, 12:56
Hi ;
I'm using Lixada 512 DMX Decoder one my projects. Red LED's connected to CH1 - Green LED's CH- 2 and Blue to CH-3
Configured Logic Machine parameters like on this example : https://openrb.com/example-dmx-lighting-...-with-lm2/
and ssed this function additionaly :
The problem is the color on the object 232.600 RGB Color in Logic Machine doesn't match with LED's.
I also tried writing down like this below the group address to understand the situation
to see Red on LED's.
It worked Red and Green but not for Blue.
I couldn't find what I'm missing any help would be appreciated.
Thanks
I'm using Lixada 512 DMX Decoder one my projects. Red LED's connected to CH1 - Green LED's CH- 2 and Blue to CH-3
Configured Logic Machine parameters like on this example : https://openrb.com/example-dmx-lighting-...-with-lm2/
and ssed this function additionaly :
Code:
function getRgbParts(RGB_variable)
Red=bit.rshift(bit.band(RGB_variable,0xff0000),16)
Green=bit.rshift(bit.band(RGB_variable,0xff00),8)
Blue=bit.band(RGB_variable,0xff)
return Red, Green, Blue
end
The problem is the color on the object 232.600 RGB Color in Logic Machine doesn't match with LED's.
I also tried writing down like this below the group address to understand the situation
Code:
dmx.set(1,255)
dmx.set(2,0)
dmx.set(3,0)
to see Red on LED's.
It worked Red and Green but not for Blue.
I couldn't find what I'm missing any help would be appreciated.
Thanks