Files
IoTManager/src/modules/sensors/Pzem004t/Pzem004t.cpp

25 lines
449 B
C++
Raw Normal View History

#include "Global.h"
#include "classes/IoTItem.h"
#include "PZEMSensor.h"
2022-09-26 21:56:54 +02:00
//#include "SoftUART.h"
2022-09-26 21:56:54 +02:00
PZEMSensor* pzem;
2022-09-26 21:56:54 +02:00
class Pzem004v : public IoTItem {
private:
String addr;
public:
Pzem004v(String parameters) : IoTItem(parameters) {
addr = jsonReadStr(parameters, "addr");
// pzem = new PZEMSensor(myUART, hexStringToUint8(addr));
}
~Pzem004v(){};
};
void* getAPI_Pzem004(String subtype, String param) {
}