diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-08-08 01:11:27 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-08-08 01:11:27 +0800 |
commit | 16c9bef90dad758235d7f2dcb92d6eb557f14ace (patch) | |
tree | a8d1651dd2a31c3b9bf2fa342bf8ba2c34a36e0e /gpslogger | |
parent | 2b155caf4aa9e214cef066e31fff6892e63524d6 (diff) | |
download | 2021-arduino-obd-16c9bef90dad758235d7f2dcb92d6eb557f14ace.tar.gz 2021-arduino-obd-16c9bef90dad758235d7f2dcb92d6eb557f14ace.tar.bz2 2021-arduino-obd-16c9bef90dad758235d7f2dcb92d6eb557f14ace.zip |
calling Wire.begin() in setup()
Diffstat (limited to 'gpslogger')
-rw-r--r-- | gpslogger/gpslogger.ino | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpslogger/gpslogger.ino b/gpslogger/gpslogger.ino index 882dd73..39f327e 100644 --- a/gpslogger/gpslogger.ino +++ b/gpslogger/gpslogger.ino @@ -1,7 +1,7 @@ /************************************************************************* * Arduino GPS Data Logger / Speed Meter / Odometer * Distributed under GPL v2.0 -* Copyright (c) 2013 Stanley Huang <stanleyhuangyc@gmail.com> +* Written by Stanley Huang * All rights reserved. *************************************************************************/ @@ -263,6 +263,7 @@ void displayMPU6050() void setup() { + Wire.begin(); lcd.begin(); lcd.setFont(FONT_SIZE_MEDIUM); |