Removed debug output
This commit is contained in:
parent
f51c0da0de
commit
7a96c055d7
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue