spejsiot/switch/app/application.cpp

9 lines
143 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() {
2016-10-04 19:06:45 +00:00
node.init();
node.registerEndpoint("relay", new OutputEndpoint(5));
2015-12-26 23:29:30 +00:00
}