mirror of
https://github.com/wagiminator/ATmega-Soldering-Station.git
synced 2025-08-07 13:00:30 +03:00
Uiv1.8t1 同步 源v1.7更新
优化温度波动显示
This commit is contained in:
@@ -1186,7 +1186,7 @@ void SENSORCheck() {
|
||||
|
||||
// stabilize displayed temperature when around setpoint
|
||||
if ((ShowTemp != Setpoint) || (abs(ShowTemp - CurrentTemp) > 5)) ShowTemp = CurrentTemp;
|
||||
|
||||
if (abs(ShowTemp - Setpoint) <= 1) ShowTemp = Setpoint;
|
||||
// set state variable if temperature is in working range; beep if working temperature was just reached
|
||||
gap = abs(SetTemp - CurrentTemp);
|
||||
if (gap < 5) {
|
||||
|
Reference in New Issue
Block a user