summaryrefslogtreecommitdiff
path: root/obdlogger/config.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-12-18 19:01:05 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2013-12-18 19:01:05 +1100
commitc575202e73cbbe86923ebdafc353fad8437ed5a1 (patch)
tree0c2efb234372d302275e7b42d76fc6e639a9863d /obdlogger/config.h
parent9549f854fe7b01615476a83201b472c2e862ec93 (diff)
download2021-arduino-obd-c575202e73cbbe86923ebdafc353fad8437ed5a1.tar.gz
2021-arduino-obd-c575202e73cbbe86923ebdafc353fad8437ed5a1.tar.bz2
2021-arduino-obd-c575202e73cbbe86923ebdafc353fad8437ed5a1.zip
Update OBD logger
Diffstat (limited to 'obdlogger/config.h')
-rw-r--r--obdlogger/config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/obdlogger/config.h b/obdlogger/config.h
index e2b3f88..073b394 100644
--- a/obdlogger/config.h
+++ b/obdlogger/config.h
@@ -6,13 +6,14 @@
**************************************/
#define ENABLE_DATA_OUT 0
#define ENABLE_DATA_LOG 1
+#define USE_SOFTSERIAL 0
//this defines the format of log file
#define LOG_FORMAT FORMAT_CSV
/**************************************
* Default working mode
**************************************/
-#define MODE_DEFAULT MODE_TIMER /* MODE_LOGGER */
+#define MODE_DEFAULT MODE_LOGGER /* MODE_LOGGER/MODE_TIMER */
//#define MODE_SWITCH_PIN 8
/**************************************
@@ -33,15 +34,16 @@
/**************************************
* Choose LCD model here
**************************************/
-LCD_SSD1306 lcd;
-//LCD_ZTOLED lcd;
+//LCD_SSD1306 lcd;
+LCD_Null lcd;
/**************************************
* Other options
**************************************/
-#define USE_MPU6050 0
+#define USE_MPU6050 1
//#define OBD_MIN_INTERVAL 50 /* ms */
#define GPS_DATA_TIMEOUT 2000 /* ms */
//#define DEBUG Serial
+#define DEBUG_BAUDRATE 9600
#endif // CONFIG_H_INCLUDED