From 37c1e8c99e7be2fbaed40e18cdc9593ecdad123f Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 30 Jul 2019 16:10:15 +0200 Subject: [PATCH] pressure trend: arrows --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7442f77..c7706d5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -279,15 +279,15 @@ void displayValues() { 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) { - display.print("Trend: --"); + display.print("Trend: \x19\x19"); } else if (pressure_diff < -0.2) { - display.print("Trend: -"); + display.print("Trend: \x19"); } else if (pressure_diff < 0.2) { - display.print("Trend: ="); + display.print("Trend: \x1a"); } else if (pressure_diff < 1.1) { - display.print("Trend: +"); + display.print("Trend: \x18"); } else if (pressure_diff < 20) { - display.print("Trend: ++"); + display.print("Trend: \x18\x18"); } else { display.print("?"); }