mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
Moar LR1110 Targets
This commit is contained in:
22
src/modules/Telemetry/Sensor/T1000xSensor.h
Normal file
22
src/modules/Telemetry/Sensor/T1000xSensor.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "configuration.h"
|
||||
|
||||
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
||||
|
||||
#include "../mesh/generated/meshtastic/telemetry.pb.h"
|
||||
#include "TelemetrySensor.h"
|
||||
|
||||
class T1000xSensor : public TelemetrySensor
|
||||
{
|
||||
private:
|
||||
protected:
|
||||
virtual void setup() override;
|
||||
|
||||
public:
|
||||
T1000xSensor();
|
||||
virtual int32_t runOnce() override;
|
||||
virtual bool getMetrics(meshtastic_Telemetry *measurement) override;
|
||||
virtual float getLux();
|
||||
virtual float getTemp();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user