Skip to content

Commit

Permalink
copy doc from busio.I2C.scan()
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Aug 7, 2024
1 parent 9ae4326 commit 60ec5cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion circuitpython_mocks/busio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def __init__(
super().__init__()

def scan(self) -> List[int]:
"""Returns a list of I2C device addresses.
"""Scan all I2C addresses between 0x08 and 0x77 inclusive and return a list of
those that respond.
.. mock-expects::
Expand Down

0 comments on commit 60ec5cb

Please sign in to comment.