summaryrefslogtreecommitdiff
path: root/megalogger/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'megalogger/config.h')
-rw-r--r--megalogger/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/megalogger/config.h b/megalogger/config.h
index fe8dde5..ac06fd6 100644
--- a/megalogger/config.h
+++ b/megalogger/config.h
@@ -1,8 +1,17 @@
#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED
+// definitions
+#define OBD_MODEL_UART 0
+#define OBD_MODEL_I2C 1
+
// configurations
/**************************************
+* Choose model of OBD-II Adapter
+**************************************/
+#define OBD_MODEL OBD_MODEL_UART
+
+/**************************************
* Choose SD pin here
**************************************/
//#define SD_CS_PIN 4 // ethernet shield
@@ -19,6 +28,11 @@
//#define GPS_OPEN_BAUDRATE 4800 /* bps */
/**************************************
+* Accelerometer & Gyro
+**************************************/
+#define USE_MPU6050 1
+
+/**************************************
* Timeout/interval options
**************************************/
//#define OBD_MIN_INTERVAL 200 /* ms */