2’s complement data format convertion

So am I understand that correctly, that all what I need is just:

temp = (buff[1] << 8) | buff[0];

where buff[0] is LSB and buff[1] is MSB

convertedTemperature = temp/50;

Is this sound like a plan? :slight_smile: