spejsiot/switch/app/application.cpp

9 lines
143 B
C++

#include <SpejsNode.h>
SpejsNode node("switch");
void init() {
node.init();
node.registerEndpoint("relay", new OutputEndpoint(5));
}