Where to find implementation of I2C.scan() class? #15344
Answered
by
miketeachman
AL-M0ND
asked this question in
RP2040 / Pico
-
Basically what the title says. I found the machine_i2c.c class (ports/rp2/machine_i2c.c), but I'm trying to understand how the I2C.scan() method works and it doesn't look like that method is implemented there. |
Beta Was this translation helpful? Give feedback.
Answered by
miketeachman
Jun 24, 2024
Replies: 1 comment 1 reply
-
It's located in a second file having the same name, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AL-M0ND
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's located in a second file having the same name,
machine_i2c.c
, in the directory containing all the cross-platform code calledextmod
. The scan method is here.