mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-15 21:18:21 +01:00
fix num of modes
This commit is contained in:
@@ -14,7 +14,7 @@ class Button : public Sprocket {
|
|||||||
MeshNet* net;
|
MeshNet* net;
|
||||||
int pin;
|
int pin;
|
||||||
int warnlevel = 0;
|
int warnlevel = 0;
|
||||||
int cycleEnd = 4;
|
int cycleEnd = 5;
|
||||||
Button(SprocketConfig cfg) : Sprocket(cfg) {}
|
Button(SprocketConfig cfg) : Sprocket(cfg) {}
|
||||||
Sprocket* activate(Scheduler* scheduler, Network* network) {
|
Sprocket* activate(Scheduler* scheduler, Network* network) {
|
||||||
pin = D2;
|
pin = D2;
|
||||||
|
|||||||
Reference in New Issue
Block a user