question: is there a way to mask off a hex value?
example of hex value i am transmitting over CAN:
msg.buf[0] = 0x0315;
----------------------------------------
lets say i only want to transmit the "03" in that line of code above is there a easy way to mask off the "15"
and vice versa, lets say i just want to transmit the "15" is there a way to mask off the "03" ?
example of hex value i am transmitting over CAN:
msg.buf[0] = 0x0315;
----------------------------------------
lets say i only want to transmit the "03" in that line of code above is there a easy way to mask off the "15"
and vice versa, lets say i just want to transmit the "15" is there a way to mask off the "03" ?