summaryrefslogtreecommitdiff
path: root/esplogger/config.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2016-06-10 09:22:09 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2016-06-10 09:22:09 +1000
commit3c7d7fb4c31f08af0499ddae7dd9a04a28b8ae90 (patch)
tree3809f0ad3584112a954e7f2a3e9427d794005c53 /esplogger/config.h
parent34a126726ecf78ee5e9438c992cccc8fe7b6c0e8 (diff)
download2021-arduino-obd-3c7d7fb4c31f08af0499ddae7dd9a04a28b8ae90.tar.gz
2021-arduino-obd-3c7d7fb4c31f08af0499ddae7dd9a04a28b8ae90.tar.bz2
2021-arduino-obd-3c7d7fb4c31f08af0499ddae7dd9a04a28b8ae90.zip
Experimental ESP8266 OBD-II data logger
Diffstat (limited to 'esplogger/config.h')
-rw-r--r--esplogger/config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/esplogger/config.h b/esplogger/config.h
new file mode 100644
index 0000000..aa60fb1
--- /dev/null
+++ b/esplogger/config.h
@@ -0,0 +1,29 @@
+#ifndef CONFIG_H_INCLUDED
+#define CONFIG_H_INCLUDED
+
+/**************************************
+* Data logging/streaming out
+**************************************/
+#define ENABLE_DATA_OUT 0
+#define ENABLE_DATA_LOG 0
+#define USE_SOFTSERIAL 0
+//this defines the format of log file
+#define LOG_FORMAT FORMAT_CSV
+
+/**************************************
+* Choose SD pin here
+**************************************/
+#define SD_CS_PIN 10 // SD breakout
+
+/**************************************
+* Choose LCD model here
+**************************************/
+LCD_SH1106 lcd;
+
+/**************************************
+* Other options
+**************************************/
+//#define DEBUG Serial
+#define DEBUG_BAUDRATE 9600
+
+#endif // CONFIG_H_INCLUDED