mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
17 lines
379 B
C++
17 lines
379 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;
|
|
};
|