From 16c9bef90dad758235d7f2dcb92d6eb557f14ace Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Thu, 8 Aug 2013 01:11:27 +0800 Subject: calling Wire.begin() in setup() --- gpslogger/gpslogger.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +* Written by Stanley Huang * All rights reserved. *************************************************************************/ @@ -263,6 +263,7 @@ void displayMPU6050() void setup() { + Wire.begin(); lcd.begin(); lcd.setFont(FONT_SIZE_MEDIUM); -- cgit v1.2.3