Hello ! I tried to find how to convert an array of 2 bytes into an unsigned short (no sign bit), but the solutions I found on the Web don't work
For example, I want that :
input = [1111 1111 0000 0000] (= [255 0] = [LSB MSB])
output = 255 (and not -1 because there is no sign bit)
Thanks for your help !
For example, I want that :
input = [1111 1111 0000 0000] (= [255 0] = [LSB MSB])
output = 255 (and not -1 because there is no sign bit)
Thanks for your help !