Function temperature_bytes
Source pub fn temperature_bytes(raw: i16) -> [u8; 2]
Expand description
Splits a temperature-format register into the two bytes the bus carries.
The TMP117 sends and receives register bytes most significant byte first.
§Arguments
raw - the signed 16-bit register value.
§Returns
The most significant byte then the least significant byte.