fix library name

This commit is contained in:
2018-11-17 12:42:51 +01:00
parent 202dce8be9
commit ea3a2deb55
2 changed files with 4 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ void addAnalogInput(Sprocket* s, int pin, const char* topic)
}, topic, _1));
s->addPlugin(new AnalogInputPlugin({pin, POT_THRESHOLD, POT_POLL_INTERVAL, topic}));
}
void addDigitalInput(Sprocket* s, int pin, const char* topic)
{
s->subscribe(topic, bind([](String label, String val){