Bmp180 Class

Definition

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