mirror of
https://gitlab.com/wirelos/sprocket-plugin-gpio.git
synced 2025-12-18 06:36:40 +01:00
fix library name
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user