summaryrefslogtreecommitdiff
path: root/unologger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 11:24:16 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 11:24:16 +0800
commite9ac16f5bf871e5254c7992aa74f492306ca2e76 (patch)
tree827d14c59ebb8e4706f487fc9ee0189dfcc884f4 /unologger
parentf9f937f54c528aefe5f9504f8bb3f341f3dcb7aa (diff)
download2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.tar.gz
2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.tar.bz2
2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.zip
Update MEGA Logger
Diffstat (limited to 'unologger')
-rw-r--r--unologger/config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/unologger/config.h b/unologger/config.h
index d0da7db..4aabb59 100644
--- a/unologger/config.h
+++ b/unologger/config.h
@@ -1,18 +1,21 @@
#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED
+#define OBD_MODEL_UART 0
+#define OBD_MODEL_I2C 1
+
/**************************************
* OBD-II options
**************************************/
-#define OBD_MODEL OBD_MODEL_UART
+#define OBD_MODEL OBD_MODEL_I2C
#define OBD_PROTOCOL 0 /* 0 for auto */
/**************************************
* Data logging/streaming out
**************************************/
#define ENABLE_DATA_OUT 1
-#define ENABLE_DATA_LOG 1
-#define USE_SOFTSERIAL 1
+#define ENABLE_DATA_LOG 0
+#define USE_SOFTSERIAL 0
//this defines the format of log file
#define LOG_FORMAT FORMAT_CSV
@@ -40,9 +43,9 @@
/**************************************
* Choose LCD model here
**************************************/
-//LCD_ILI9341 lcd;
+LCD_ILI9341 lcd;
//LCD_SSD1306 lcd;
-LCD_Null lcd;
+//LCD_Null lcd;
/**************************************
* Other options