private void CloseSensor() { try { _bmp180.Close(); } catch (IOException e) { Log.Error("Test", "closeSensor error: ", e); } _bmp180 = null; }