Files
lighthub/lighthub/abstractin.h
Климов Андрей Николаевич 1e58ad90eb config reload issues fixed
2023-10-23 21:34:17 +03:00

19 lines
381 B
C++

#pragma once
#include "Arduino.h"
#include "abstractch.h"
class Input;
class abstractIn : public abstractCh{
public:
abstractIn(Input * _in):abstractCh(){in=_in;};
protected:
Input * in;
int publish(long value, const char* subtopic = NULL);
int publish(float value, const char* subtopic = NULL );
int publish(char * value, const char* subtopic = NULL);
friend Input;
};