summaryrefslogtreecommitdiff
path: root/megalogger/megalogger.ino
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2015-11-01 21:20:19 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2015-11-01 21:20:19 +1100
commitb14a9dd1ae96a066732c8d85cf41065482e31266 (patch)
treea2837fec100c4df42234479fbdc8489d88f9c2e0 /megalogger/megalogger.ino
parent1b496fb2a89b1af1f4090b2910fdc5fd9f5a1c5a (diff)
download2021-arduino-obd-b14a9dd1ae96a066732c8d85cf41065482e31266.tar.gz
2021-arduino-obd-b14a9dd1ae96a066732c8d85cf41065482e31266.tar.bz2
2021-arduino-obd-b14a9dd1ae96a066732c8d85cf41065482e31266.zip
GUI tweakup
Diffstat (limited to 'megalogger/megalogger.ino')
-rw-r--r--megalogger/megalogger.ino13
1 files changed, 5 insertions, 8 deletions
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);