when I use this formula in the output channels.
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 0)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 1)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 2)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 3)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 4)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 5)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 6)
(ushort)Val(321) | ((Cmd > 0 ? 1 : 0) << 7)
For 1 byte I get the activation of each of the channels without losing the value of the channel.
I need to know how to do the same but to disable each of the bits.
I use command type: standard
I use command values: execute
Is there any way to activate a specific bit of the byte with a formula or with off-on without losing the byte values.
Thank you