From b14a9dd1ae96a066732c8d85cf41065482e31266 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 1 Nov 2015 21:20:19 +1100 Subject: GUI tweakup --- megalogger/megalogger.ino | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'megalogger/megalogger.ino') diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino index 975335c..fe27f04 100644 --- a/megalogger/megalogger.ino +++ b/megalogger/megalogger.ino @@ -801,21 +801,18 @@ void setup() state |= STATE_OBD_READY; - lcd.setColor(RGB16_GREEN); - lcd.setFontSize(FONT_SIZE_MEDIUM); - lcd.println("OBD READY!"); - char buf[OBD_RECV_BUF_SIZE]; if (obd.getVIN(buf)) { + lcd.setFontSize(FONT_SIZE_SMALL); lcd.setColor(RGB16_WHITE); lcd.print("VIN:"); lcd.setColor(RGB16_YELLOW); - lcd.print(buf); + lcd.println(buf); } - //lcd.setFont(FONT_SIZE_MEDIUM); - //lcd.setCursor(0, 14); - //lcd.print("VIN: XXXXXXXX"); + lcd.setColor(RGB16_GREEN); + lcd.setFontSize(FONT_SIZE_MEDIUM); + lcd.println("READY!"); showECUCap(); delay(3000); -- cgit v1.2.3