|
|
@ -278,13 +278,13 @@ void displayValues() { |
|
|
|
float pressure_diff = history_pressure.getElement(0) - history_pressure.getFirst(); |
|
|
|
display.setCursor(135,y_offset+45); |
|
|
|
if (isnan(pressure_diff) || history_pressure.getCount() < history_pressure.getSize()) { |
|
|
|
} else if (pressure_diff > -20 && pressure_diff < -1.1) { |
|
|
|
} else if (pressure_diff > -20 && pressure_diff < -0.6) { |
|
|
|
display.print("Trend: \x19\x19"); |
|
|
|
} else if (pressure_diff < -0.2) { |
|
|
|
} else if (pressure_diff < -0.1) { |
|
|
|
display.print("Trend: \x19"); |
|
|
|
} else if (pressure_diff < 0.2) { |
|
|
|
} else if (pressure_diff < 0.1) { |
|
|
|
display.print("Trend: \x1a"); |
|
|
|
} else if (pressure_diff < 1.1) { |
|
|
|
} else if (pressure_diff < 0.6) { |
|
|
|
display.print("Trend: \x18"); |
|
|
|
} else if (pressure_diff < 20) { |
|
|
|
display.print("Trend: \x18\x18"); |
|
|
|