Skip to content
Discussion options

You must be logged in to vote

The I2C scan result indicates that you have a hardware problem on the I2C bus. Are you sure you're not confusing package pin numbers and GPIO numbers? SDA should be GPIO16, package pin 21.

In my experience with the Pico it is safest to explicitly state the pins used in the class constructor as the defaults are undocumented.

Replies: 6 comments 19 replies

Comment options

You must be logged in to vote
2 replies
@HarryDrones
Comment options

@peterhinch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HarryDrones
Comment options

Comment options

You must be logged in to vote
7 replies
@peterhinch
Comment options

@HarryDrones
Comment options

@peterhinch
Comment options

@HarryDrones
Comment options

@HarryDrones
Comment options

Comment options

You must be logged in to vote
5 replies
@HarryDrones
Comment options

@peterhinch
Comment options

@HarryDrones
Comment options

@HarryDrones
Comment options

@HarryDrones
Comment options

Comment options

You must be logged in to vote
4 replies
@HarryDrones
Comment options

@peterhinch
Comment options

@HarryDrones
Comment options

@HarryDrones
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants