Skip to content

Instantly share code, notes, and snippets.

@boochow
Created December 3, 2018 14:08
Show Gist options
  • Save boochow/8c070f8fcdbd91c572fdec381cc223ce to your computer and use it in GitHub Desktop.
Save boochow/8c070f8fcdbd91c572fdec381cc223ce to your computer and use it in GitHub Desktop.
>>> i2c = pyb.I2C(2, pyb.I2C.MASTER)
>>> i2c.scan()
[30, 41, 45, 86, 93, 95, 106]
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment