Can someone break down how you figure parameter values?

So using @nathanfiscus 's toolbox, I know that if I set my lightstrip to fade to red, it sets parameter 22 to 32.
image

But I cant figure out how that makes sense according to the parameter 22 breakdown…

I read the breakdown as I would set red fade to 40.

I know im wrong, I just want to understand.

He’s using a bit mask. You need to convert the 4 to binary (0100). When you combine that with the lower part (000) you get 0100000 or 32 decimal. Definitely not how I would make the chart but it works.

1 Like