summaryrefslogtreecommitdiff
path: root/megaloggerHD/megaloggerHD.ino
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2017-02-12 23:01:45 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2017-02-12 23:01:45 +1100
commita8f61f1a5e34c0fbf52d897a0cbaecbe75577662 (patch)
treec7f5df0f37c5fa7bb3870f3a6a6839c236b4281f /megaloggerHD/megaloggerHD.ino
parentceb4720c4a89735fb1ef128b66a7e582270043da (diff)
download2021-arduino-obd-a8f61f1a5e34c0fbf52d897a0cbaecbe75577662.tar.gz
2021-arduino-obd-a8f61f1a5e34c0fbf52d897a0cbaecbe75577662.tar.bz2
2021-arduino-obd-a8f61f1a5e34c0fbf52d897a0cbaecbe75577662.zip
Sync with latest OBD library
Diffstat (limited to 'megaloggerHD/megaloggerHD.ino')
-rw-r--r--megaloggerHD/megaloggerHD.ino10
1 files changed, 5 insertions, 5 deletions
diff --git a/megaloggerHD/megaloggerHD.ino b/megaloggerHD/megaloggerHD.ino
index d90efa8..f7d7e47 100644
--- a/megaloggerHD/megaloggerHD.ino
+++ b/megaloggerHD/megaloggerHD.ino
@@ -294,7 +294,7 @@ bool checkSD()
lcd.print(type);
lcd.write(' ');
if (!volume.init(card)) {
- lcd.print("No FAT!");
+ lcd.println("No FAT!");
return false;
}
@@ -630,6 +630,7 @@ void testOut()
}
p++;
}
+ lcd.println();
} else {
lcd.println("Timeout");
Serial.println("Timeout");
@@ -668,11 +669,11 @@ void setup()
}
#endif
- obd.begin();
+ byte version = obd.begin();
lcd.print("Adapter Ver. ");
- lcd.print(obd.version / 10);
+ lcd.print(version / 10);
lcd.print('.');
- lcd.println(obd.version % 10);
+ lcd.println(version % 10);
#ifdef OBD_ADAPTER_I2C
Wire.begin();
@@ -707,7 +708,6 @@ void setup()
lcd.print("VIN:");
lcd.setColor(RGB16_YELLOW);
lcd.println(buf);
- lcd.println();
}
uint16_t dtc[6];