Skip to content

Commit d293dd6

Browse files
mrmcwethytannewt
authored andcommitted
changed read_into to readinto
1 parent df5ad1d commit d293dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pcf8523.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def __init__(self, i2c):
104104
buf[0] = 0x12
105105
with self.i2c_device as i2c:
106106
i2c.write(buf, end=1, stop=False)
107-
i2c.read_into(buf, start=1)
107+
i2c.readinto(buf, start=1)
108108

109109
if (buf[1] & 0b00000111) != 0b00000111:
110110
raise ValueError("Unable to find PCF8523 at i2c address 0x68.")

0 commit comments

Comments
 (0)