From 3d6d4d69881ce89e13f4eb04ca973e6eb1812a7b Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 10 Jun 2014 19:55:38 +1000 Subject: Update MEGA Logger for colored display --- megalogger/megalogger.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'megalogger') diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino index 5e85f3d..a647590 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -499,27 +499,27 @@ private: lcd.setFontSize(FONT_SIZE_XLARGE); lcd.setCursor(34, 7); if (value >= 10000) break; - setColorByValue(value, 2500, 3500, 4500); + setColorByValue(value, 2500, 3500, 5000); lcd.printInt(value, 4); break; case PID_SPEED: lcd.setFontSize(FONT_SIZE_XLARGE); lcd.setCursor(50, 2); if (value > 350) break; - setColorByValue(value, 60, 100, 150); + setColorByValue(value, 50, 80, 160); lcd.printInt((unsigned int)value % 1000, 3); break; case PID_THROTTLE: lcd.setFontSize(FONT_SIZE_MEDIUM); lcd.setCursor(42, 11); - if (value >= 100) break; + if (value >= 100) value = 99; setColorByValue(value, 50, 75, 90); lcd.printInt(value, 2); break; case PID_ENGINE_LOAD: lcd.setFontSize(FONT_SIZE_MEDIUM); lcd.setCursor(116, 11); - if (value >= 100) break; + if (value >= 100) value = 99; setColorByValue(value, 50, 75, 90); lcd.printInt(value, 2); break; -- cgit v1.2.3