Trouble understanding BMP180 code