You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really minor issue but i noted it several times and is an easy fix.
When heating up to steam temp or cooling down with a flush the temp gets displayed using the function below. 99.999 is used to decide for an offset for temps below 100°. However, the temp gets rounded. I guess 99.5. Therefore, i think the separation should be done at 99.499.
/**
* @brief Draw the temperature in big font at given position
*/
void displayTemperature(int x, int y) {
u8g2.setFont(u8g2_font_fub30_tf);
if (temperature < 99.999) {
u8g2.setCursor(x + 20, y);
u8g2.print(temperature, 0);
}
else {
u8g2.setCursor(x, y);
u8g2.print(temperature, 0);
}
u8g2.drawCircle(x + 72, y + 4, 3);
}
The text was updated successfully, but these errors were encountered:
Really minor issue but i noted it several times and is an easy fix.
When heating up to steam temp or cooling down with a flush the temp gets displayed using the function below. 99.999 is used to decide for an offset for temps below 100°. However, the temp gets rounded. I guess 99.5. Therefore, i think the separation should be done at 99.499.
The text was updated successfully, but these errors were encountered: