Example code how to get temperature from the TMP102 temperature sensor