private void ReadData() { try { float temp = _bmp180.ReadTemperature(); float press = _bmp180.ReadPressure(); double alt = _bmp180.ReadAltitude(); Log.Debug("Test", "loop: temp " + temp + " alt: " + alt + " press: " + press); } catch (IOException e) { Log.Error("Test", "Sensor loop error : ", e); } }