2021-03-04 19:39:20 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stored_value_sensor.h"
|
|
|
|
#include "lps25.h"
|
|
|
|
|
|
|
|
class Lps25Sensor : public StoredValueSensor {
|
|
|
|
public:
|
|
|
|
explicit Lps25Sensor(Lps25& sensor);
|
|
|
|
void update();
|
|
|
|
|
2021-04-18 17:02:32 -07:00
|
|
|
void showInfo(const char* sensorName) const override;
|
2021-03-04 19:39:20 -08:00
|
|
|
|
|
|
|
private:
|
|
|
|
Lps25* m_sensor;
|
|
|
|
};
|