Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Update usage_v831_i2c-2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
junhuanchen authored Oct 23, 2022
1 parent 7e143f6 commit b3fa55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/maix_v831/usage_v831_i2c-2.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def tapped(self):
return False

from maix import i2c
i2c = i2c.I2CDevice('/dev/i2c-2', 0x26)
i2c = i2c.I2C('/dev/i2c-2', 0x26)
print(i2c)
print(i2c.read(0x1, 1))

Expand Down

0 comments on commit b3fa55f

Please sign in to comment.