Removed debug output

This commit is contained in:
Kai Lauterbach 2023-04-26 09:52:09 +02:00
parent f51c0da0de
commit 7a96c055d7

View file

@ -121,7 +121,7 @@ void lightEngine()
}
uint16_t tmp_pwm = calcPWM(current_bri[i]);
Serial.println("pin" + (String)i + " = PWM(" + (String)tmp_pwm + ")");
//Serial.println("pin" + (String)i + " = PWM(" + (String)tmp_pwm + ")");
analogWrite(pins[i], tmp_pwm);
}
} else {
@ -136,7 +136,7 @@ void lightEngine()
}
uint16_t tmp_pwm = calcPWM(current_bri[i]);
Serial.println("pin" + (String)i + " = PWM(" + (String)tmp_pwm + ")");
//Serial.println("pin" + (String)i + " = PWM(" + (String)tmp_pwm + ")");
analogWrite(pins[i], tmp_pwm);
}
}
@ -162,7 +162,7 @@ uint16_t calcPWM(float tbri)
{
tmp_pwm = PWM_MAX;
}
Serial.println((String)tbri + " => " + (String)tmp_pwm);
//Serial.println((String)tbri + " => " + (String)tmp_pwm);
return tmp_pwm;
}