Bmp180 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
BMP180 - barometer, altitude and temperature sensor
public class Bmp180 : IDisposable
[System.Device.Model.Interface("BMP180 - barometer, altitude and temperature sensor")]
public class Bmp180 : IDisposable
type Bmp180 = class
interface IDisposable
[<System.Device.Model.Interface("BMP180 - barometer, altitude and temperature sensor")>]
type Bmp180 = class
interface IDisposable
Public Class Bmp180
Implements IDisposable
- Inheritance
-
Bmp180
- Attributes
- Implements
Constructors
Bmp180(I2cDevice) |
Constructs Bmp180 instance |
Fields
DefaultI2cAddress |
Default I2C address |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
ReadAltitude() |
Calculates the altitude in meters from the mean sea-level pressure. |
ReadAltitude(Double) | |
ReadAltitude(Pressure) |
Calculates the altitude in meters from the specified sea-level pressure. |
ReadPressure() |
Reads the pressure from the sensor |
ReadSeaLevelPressure() |
Calculates the pressure at sea level, when the current altitude is 0. |
ReadSeaLevelPressure(Double) |
Calculates the pressure at sea level when given a known altitude in meter |
ReadSeaLevelPressure(Length) |
Calculates the pressure at sea level when given a known altitude |
ReadTemperature() |
Reads the temperature from the sensor |
SetSampling(Sampling) |
Sets sampling to the given value |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for