2016-06-29 15:00:22 +00:00
|
|
|
#include <SpejsNode.h>
|
2017-06-12 15:40:23 +00:00
|
|
|
#include <endpoints/OutputEndpoint.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();
|
2016-12-04 23:17:51 +00:00
|
|
|
node.registerEndpoint("relay", new OutputEndpoint(2));
|
2015-12-26 23:29:30 +00:00
|
|
|
}
|