summaryrefslogtreecommitdiff
path: root/megalogger/config.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2015-09-24 11:56:04 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2015-09-24 11:56:04 +1000
commit1cbeec17ceb8e55be4032a69d9d745b885f4771d (patch)
treeafd55dd3478b538cc962312009def57e0f2caf36 /megalogger/config.h
parent5632b52771e0a45c9e99c70ead4360583f7624cd (diff)
download2021-arduino-obd-1cbeec17ceb8e55be4032a69d9d745b885f4771d.tar.gz
2021-arduino-obd-1cbeec17ceb8e55be4032a69d9d745b885f4771d.tar.bz2
2021-arduino-obd-1cbeec17ceb8e55be4032a69d9d745b885f4771d.zip
Minor update
Diffstat (limited to 'megalogger/config.h')
-rw-r--r--megalogger/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/megalogger/config.h b/megalogger/config.h
index 9f6a343..881d7f2 100644
--- a/megalogger/config.h
+++ b/megalogger/config.h
@@ -23,12 +23,12 @@
// uses software(1)/hardware(0) serial for data streaming
#define USE_SOFTSERIAL 0
+#define RF_SERIAL Serial3
// this defines the format of data streaming
// FORMAT_BIN is required by Freematics OBD iOS App
-// FORMAT_CSV for text-based data, hex digits for PID
// FORMAT_TEXT for text-based, text names for PID
-#define STREAM_FORMAT FORMAT_BIN
+#define STREAM_FORMAT FORMAT_TEXT
/* Default streaming baudrates:
9600bps for BLE
@@ -51,8 +51,8 @@
/**************************************
* Accelerometer & Gyro
**************************************/
-#define USE_MPU6050 1
-//#define USE_MPU9150 1
+//#define USE_MPU6050 1
+#define USE_MPU9150 1
#define ACC_DATA_RATIO 160
#define GYRO_DATA_RATIO 256
#define COMPASS_DATA_RATIO 8