summaryrefslogtreecommitdiff
path: root/nanotimer/config.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:36:03 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-08-15 21:36:03 +1000
commit25851949cce42c297b8a5c6b4daf684196c78a01 (patch)
treef7c55cc1e0d00b2174586d66f8dddbe65333bff7 /nanotimer/config.h
parent881ba1dec955faaf052e55259d5f315e77781934 (diff)
download2021-arduino-obd-25851949cce42c297b8a5c6b4daf684196c78a01.tar.gz
2021-arduino-obd-25851949cce42c297b8a5c6b4daf684196c78a01.tar.bz2
2021-arduino-obd-25851949cce42c297b8a5c6b4daf684196c78a01.zip
Add NanoTimer
Diffstat (limited to 'nanotimer/config.h')
-rw-r--r--nanotimer/config.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/nanotimer/config.h b/nanotimer/config.h
new file mode 100644
index 0000000..42b7e70
--- /dev/null
+++ b/nanotimer/config.h
@@ -0,0 +1,32 @@
+#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
+
+/**************************************
+* Choose LCD model here
+**************************************/
+//LCD_SSD1306 lcd;
+LCD_SH1106 lcd;
+//LCD_Null lcd;
+
+/**************************************
+* Other options
+**************************************/
+//#define OBD_MIN_INTERVAL 50 /* ms */
+//#define DEBUG Serial
+#define DEBUG_BAUDRATE 9600
+
+#endif // CONFIG_H_INCLUDED