summaryrefslogtreecommitdiff
path: root/obdlogger/config.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-11-12 23:31:12 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2013-11-12 23:31:12 +1100
commita9cac1d46f5399f163448d40ea5aa954efea9770 (patch)
tree99f1b65e5383201b125855e3f6c279c32f3fef14 /obdlogger/config.h
parent91c65f3d117d942b1b4f8fd4bcc77683c3ef71c8 (diff)
download2021-arduino-obd-a9cac1d46f5399f163448d40ea5aa954efea9770.tar.gz
2021-arduino-obd-a9cac1d46f5399f163448d40ea5aa954efea9770.tar.bz2
2021-arduino-obd-a9cac1d46f5399f163448d40ea5aa954efea9770.zip
reduce program memory cost and fit for atmega328
Diffstat (limited to 'obdlogger/config.h')
-rw-r--r--obdlogger/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/obdlogger/config.h b/obdlogger/config.h
index e00362c..e2b3f88 100644
--- a/obdlogger/config.h
+++ b/obdlogger/config.h
@@ -13,15 +13,15 @@
* Default working mode
**************************************/
#define MODE_DEFAULT MODE_TIMER /* MODE_LOGGER */
-#define MODE_SWITCH_PIN 8
+//#define MODE_SWITCH_PIN 8
/**************************************
* Choose SD pin here
**************************************/
//#define SD_CS_PIN SS // generic
//#define SD_CS_PIN 4 // ethernet shield
-#define SD_CS_PIN 7 // microduino
-//#define SD_CS_PIN 10 // SD breakout
+//#define SD_CS_PIN 7 // microduino
+#define SD_CS_PIN 10 // SD breakout
/**************************************
* Config GPS here
@@ -40,7 +40,7 @@ LCD_SSD1306 lcd;
* Other options
**************************************/
#define USE_MPU6050 0
-#define OBD_MIN_INTERVAL 50 /* ms */
+//#define OBD_MIN_INTERVAL 50 /* ms */
#define GPS_DATA_TIMEOUT 2000 /* ms */
//#define DEBUG Serial