rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Lps25Sensor.h
Go to the documentation of this file.
1#pragma once
2
4#include "lps25.h"
5
7public:
8 explicit Lps25Sensor(Lps25& sensor);
9 void update();
10
11 void showInfo(const char* sensorName) const override;
12
13private:
15};
Definition lps25.h:13
void showInfo(const char *sensorName) const override
Lps25 * m_sensor
Definition Lps25Sensor.h:14
Base class for sensors that compute a value on one thread, and want to make it available to consumers...
static Lps25Sensor sensor(device)
Driver for the ST LPS22HB and LPS25HB pressure sensor.
Base class for a sensor that has its value asynchronously set, then later retrieved by a consumer.