change button fine ajdustments

master
Eggert Jung 3 years ago
parent 3f662045e6
commit 2f5f57546a

@ -40,8 +40,8 @@ void do_abzug(){
}
if (read_Input(BTN_ABZUG_PLUS, RISING)) {
if(abzug_speed <= 900)
abzug_speed += 100;
if(abzug_speed <= 990)
abzug_speed += 10;
else
abzug_speed = 1000;
#if PLC_MQTT_ENABLED
@ -50,8 +50,8 @@ void do_abzug(){
}
if (read_Input(BTN_ABZUG_MINUS, RISING)) {
if(abzug_speed >= 110)
abzug_speed -= 100;
if(abzug_speed >= 20)
abzug_speed -= 10;
else
abzug_speed = 10;
#if PLC_MQTT_ENABLED
@ -60,8 +60,8 @@ void do_abzug(){
}
if (read_Input(BTN_ABZUG_PLUS_FEIN, RISING)) {
if(abzug_speed <= 990)
abzug_speed += 10;
if(abzug_speed <= 999)
abzug_speed += 1;
else
abzug_speed = 1000;
#if PLC_MQTT_ENABLED
@ -70,8 +70,8 @@ void do_abzug(){
}
if (read_Input(BTN_ABZUG_MINUS_FEIN, RISING)) {
if(abzug_speed >= 20)
abzug_speed -= 10;
if(abzug_speed >= 11)
abzug_speed -= 1;
else
abzug_speed = 10;
#if PLC_MQTT_ENABLED