OpenDTU-old/include/PowerMeterSerialSml.h
2024-06-26 20:51:56 +02:00

17 lines
322 B
C++

// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "PowerMeterSml.h"
#include <SoftwareSerial.h>
class PowerMeterSerialSml : public PowerMeterSml {
public:
~PowerMeterSerialSml();
bool init() final;
void loop() final;
private:
std::unique_ptr<SoftwareSerial> _upSmlSerial = nullptr;
};