spejsiot/switch/app/application.cpp

9 lines
137 B
C++
Raw Normal View History

2016-06-29 15:00:22 +00:00
#include <SpejsNode.h>
2015-12-26 23:29:30 +00:00
2016-06-29 15:00:22 +00:00
SpejsNode node("switch");
2015-12-26 23:29:30 +00:00
2016-06-29 15:00:22 +00:00
void init() {
node.init();
2016-09-18 08:30:34 +00:00
node.registerEndpoint("relay", new OutputEndpoint(5));
2015-12-26 23:29:30 +00:00
}