From e9ac16f5bf871e5254c7992aa74f492306ca2e76 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 4 Apr 2014 11:24:16 +0800 Subject: Update MEGA Logger --- unologger/config.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'unologger') 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 -- cgit v1.2.3