added log messages
This commit is contained in:
@@ -45,18 +45,23 @@ void HTTPServer::start_apps() {
|
||||
|
||||
if (argName(i).equals("range_act_pwm")) {
|
||||
treppe->set_active_pwm(arg(i).toInt(), VORGABE_PROZENT);
|
||||
logt("set_active_pwm = %d %\n", arg(i).toInt());
|
||||
}
|
||||
else if (argName(i).equals("range_idl_pwm")) {
|
||||
treppe->set_idle_pwm_max(arg(i).toInt(), VORGABE_PROZENT);
|
||||
logt("set_idle_pwm_max = %d %\n", arg(i).toInt());
|
||||
}
|
||||
else if (argName(i).equals("range_tim_sta")) {
|
||||
treppe->set_time_per_stair(arg(i).toInt());
|
||||
logt("set_time_per_stair = %d\n", arg(i).toInt());
|
||||
}
|
||||
else if (argName(i).equals("range_tim_ldr")) {
|
||||
treppe->set_time_ldr(arg(i).toInt());
|
||||
logt("set_time_ldr = %d\n", arg(i).toInt());
|
||||
}
|
||||
else if (argName(i).equals("range_ldr_shw")) {
|
||||
treppe->set_ldr_schwelle(arg(i).toInt(), VORGABE_PROZENT);
|
||||
logt("set_ldr_schwelle = %d %\n", arg(i).toInt());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user