13 lines
224 B
C++
13 lines
224 B
C++
#ifndef DEVICE_H
|
|
#define DEVICE_H
|
|
|
|
class Device {
|
|
public:
|
|
// purely virtual functions, need to be implemented
|
|
virtual void setup() = 0;
|
|
virtual void homieRegister() = 0;
|
|
virtual void loop() = 0;
|
|
};
|
|
|
|
#endif
|