summaryrefslogtreecommitdiff
path: root/megaloggerHD
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2016-11-23 22:27:56 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2016-11-23 22:27:56 +1100
commit6b932eb85c62aeb8ee3e8171de057a9d048f4047 (patch)
tree058296d6f2787dc0957c9e4b2b1b063452dd32a2 /megaloggerHD
parent578d81f3df6769dd91ec96715f19586b2da04843 (diff)
download2021-arduino-obd-6b932eb85c62aeb8ee3e8171de057a9d048f4047.tar.gz
2021-arduino-obd-6b932eb85c62aeb8ee3e8171de057a9d048f4047.tar.bz2
2021-arduino-obd-6b932eb85c62aeb8ee3e8171de057a9d048f4047.zip
Fixed minor display issue
Diffstat (limited to 'megaloggerHD')
-rw-r--r--megaloggerHD/config.h4
-rw-r--r--megaloggerHD/megaloggerHD.ino8
2 files changed, 6 insertions, 6 deletions
diff --git a/megaloggerHD/config.h b/megaloggerHD/config.h
index 1b86f2f..553222c 100644
--- a/megaloggerHD/config.h
+++ b/megaloggerHD/config.h
@@ -4,8 +4,8 @@
/**************************************
* OBD-II Adapter options
**************************************/
-#define OBD_ADAPTER_I2C
-//#define OBD_ADAPTER_UART
+//#define OBD_ADAPTER_I2C
+#define OBD_ADAPTER_UART
#define OBD_PROTOCOL PROTO_AUTO
/**************************************
diff --git a/megaloggerHD/megaloggerHD.ino b/megaloggerHD/megaloggerHD.ino
index 83987ad..7d32709 100644
--- a/megaloggerHD/megaloggerHD.ino
+++ b/megaloggerHD/megaloggerHD.ino
@@ -164,7 +164,7 @@ void showPIDData(byte pid, int value)
case PID_INTAKE_TEMP:
if (value >= 0 && value < 100) {
lcd.setFontSize(FONT_SIZE_MEDIUM);
- lcd.setCursor(102, 34);
+ lcd.setCursor(102, 33);
lcd.printInt(value, 2);
}
break;
@@ -601,14 +601,14 @@ void showStates()
{
lcd.setFontSize(FONT_SIZE_MEDIUM);
lcd.setColor(RGB16_WHITE);
- lcd.setCursor(0, 8);
+ lcd.setCursor(0, 10);
lcd.print("MEMS ");
lcd.setColor((state & STATE_MEMS_READY) ? RGB16_GREEN : RGB16_RED);
lcd.draw((state & STATE_MEMS_READY) ? tick : cross, 16, 16);
#if USE_GPS
lcd.setColor(RGB16_WHITE);
- lcd.setCursor(60, 8);
+ lcd.setCursor(60, 10);
lcd.print(" GPS ");
if (state & STATE_GPS_CONNECTED) {
lcd.setColor(RGB16_GREEN);
@@ -626,7 +626,7 @@ void testOut()
static const char PROGMEM cmds[][6] = {"ATZ\r", "ATL1\r", "ATRV\r", "0100\r", "010C\r", "0902\r"};
char buf[128];
lcd.setFontSize(FONT_SIZE_SMALL);
- lcd.setCursor(0, 11);
+ lcd.setCursor(0, 13);
for (byte i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {
char cmd[6];