summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2016-12-27 23:17:11 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2016-12-27 23:17:11 +1100
commite93e7a6a3b66632209d2883af99d6f5086d24fbd (patch)
tree4e7d7b14a96d9a0fe845befbae6914cdb2b5b81e /libraries
parentc314930936138aee4b7ce114196882347d0aceda (diff)
download2021-arduino-obd-e93e7a6a3b66632209d2883af99d6f5086d24fbd.tar.gz
2021-arduino-obd-e93e7a6a3b66632209d2883af99d6f5086d24fbd.tar.bz2
2021-arduino-obd-e93e7a6a3b66632209d2883af99d6f5086d24fbd.zip
Fixed MEMS not inited bug
Diffstat (limited to 'libraries')
-rw-r--r--libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino b/libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino
index fd9e980..e00f0e7 100644
--- a/libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino
+++ b/libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino
@@ -109,8 +109,8 @@ void readBatteryVoltage()
void setup() {
Serial.begin(115200);
delay(500);
- accelgyro.initialize();
obd.begin();
+ accelgyro.initialize();
// send some commands for testing and show response for debugging purpose
//testOut();