diff --git a/hot_fermentation.ino b/hot_fermentation.ino index 7ffdab0..62d380f 100644 --- a/hot_fermentation.ino +++ b/hot_fermentation.ino @@ -161,7 +161,7 @@ void handleProfileSelection() { } void displaySelection() { - oled.clear(); + // oled.clear(); // Display all profiles with the selected one highlighted for (int i = 0; i < (int) (sizeof(profiles) / sizeof(profiles[0])); i++) { if (i == selectedProfileIndex) { @@ -235,7 +235,7 @@ void getPhaseAndTemperature() { void printPhases() { - oled.clear(); + // oled.clear(); if (isComplete) { // Show completion time and current temperature instead of the title @@ -251,19 +251,23 @@ void printPhases() { oled.print("c"); oled.print("->"); oled.print((int)Setpoint); - oled.print("c"); + oled.print("c "); } else { oled.setCursor(0, 0); oled.print(activeProfile.name); + oled.print(" "); } // Display the totals and current state on the OLED + oled.setCursor(0, 1); + oled.print(" "); oled.setCursor(18, 1); formatTime(totalElapsedTime, timeBuffer); oled.print(timeBuffer); oled.print(" / "); formatTime(totalProcessTime, timeBuffer); oled.print(timeBuffer); + oled.print(" "); for (int i = 0; i < activeProfile.numPhases; i++) { @@ -284,6 +288,7 @@ void printPhases() { } oled.print("c "); oled.print(timeBuffer); + oled.print(" "); } else { oled.invertText(false); // Normal text for other phases @@ -294,6 +299,7 @@ void printPhases() { oled.print(activeProfile.phases[i].temperature); oled.print("c "); oled.print(timeBuffer); + oled.print(" "); } }