bossredman
Well-known member
Hi - so if I have an "value" which I split into 3 x 7 bit bytes via the following code:
Is it possible to calculate the original "value" from the 3 x 7 bit bytes??
Probably a stupid question but I struggle with all this bitwise stuff.
Thanks
Code:
// Calculate the 3 "Parameter Value" bytes for sysex msg.
byte First_byte = (value & 0x7F);
byte Second_byte = ((value >> 7) & 0x7F);
byte Third_byte = ((value >> 14) & 0x7F);
Is it possible to calculate the original "value" from the 3 x 7 bit bytes??
Probably a stupid question but I struggle with all this bitwise stuff.
Thanks