Skip to content

Commit

Permalink
updated read_into to readinto
Browse files Browse the repository at this point in the history
  • Loading branch information
kattni authored Dec 20, 2017
1 parent 07e3eda commit e388c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def read(self, reg_base, reg, buf, delay=.001):
self.write(reg_base, reg)
time.sleep(delay)
with self.i2c_device as i2c:
i2c.read_into(buf)
i2c.readinto(buf)

def write(self, reg_base, reg, buf=None):
full_buffer = bytearray([reg_base, reg])
Expand Down

0 comments on commit e388c67

Please sign in to comment.