From e93e7a6a3b66632209d2883af99d6f5086d24fbd Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 27 Dec 2016 23:17:11 +1100 Subject: Fixed MEMS not inited bug --- libraries/OBD/examples/obd_i2c_test/obd_i2c_test.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/OBD/examples') 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(); -- cgit v1.2.3