Added config options via Blynk app

This commit is contained in:
mrcory
2020-02-14 10:38:29 -05:00
parent 104184b32b
commit d3fe21b4aa
+19
View File
@@ -55,3 +55,22 @@ BLYNK_WRITE(V27) {
BLYNK_WRITE(V28) {
pwmOn = param.asInt();
}
//------Configure device via Blynk
BLYNK_WRITE(V30) { //Speed
stepperSpeed = param.asInt();
}
BLYNK_WRITE(V31) { //Acceleration
stepperAccel = param.asInt();
}
BLYNK_WRITE(V32) { //Invert direction
invertMotor = param.asInt();
}
BLYNK_WRITE(V33) { //Reset device for inverted setting
resetFlag = param.asInt();
}