Pressure sensor driver LPS22HBTR.
More...
#include <pressure_sensor.hpp>
Pressure sensor driver LPS22HBTR.
◆ PressureSensor()
bsp::ygg::prph::PressureSensor::PressureSensor |
( |
| ) |
|
|
delete |
◆ getPressure()
static float bsp::ygg::prph::PressureSensor::getPressure |
( |
| ) |
|
|
inlinestatic |
Get the current air pressure.
- Returns
- Pressure in hPa
◆ getTemperature()
static float bsp::ygg::prph::PressureSensor::getTemperature |
( |
| ) |
|
|
inlinestatic |
Get the current sensor temperature.
- Returns
- Temperature in °C
◆ init()
static bool bsp::ygg::prph::PressureSensor::init |
( |
| ) |
|
|
inlinestatic |
Initializes the LPS22HBTR pressure sensor.
- Returns
- Success
The documentation for this class was generated from the following file: