Skip to content

Commit 7eaacb2

Browse files
committed
Merge pull request adafruit#14 from mrichardson23/master
Fix IOError string in Adafruit_I2C.py
2 parents 9ab45e9 + 5734030 commit 7eaacb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_I2C/Adafruit_I2C.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def readList(self, reg, length):
5656
print results
5757
return results
5858
except IOError, err:
59-
print "Error accessing 09x%02X: Check your I2C address" % self.address
59+
print "Error accessing 0x%02X: Check your I2C address" % self.address
6060
return -1
6161

6262
def readU8(self, reg):

0 commit comments

Comments
 (0)