Can't seem to fint the I2C pins on the expansion board (using SiPy)
-
The problem is more or less stated in the title. Can anyone tell my what the I2C pins are called? Preferable both on the expansion board and on the SiPy? Really wanna understand it.
-
@Lokefar
you can start I2C on "any" pins
default are pins P9 (SDA) and P10 (SCL)
you can choose different by putting it in below code instead SDA SCL texti2c.init(mode, *, baudrate=100000, pins=(SDA, SCL))more info here:
https://docs.pycom.io/pycom_esp32/library/machine.I2C.htmllook at pinout:
Sipy
https://docs.pycom.io/pycom_esp32/_downloads/Sipy_v01_1_pinout_rc.pdf
expansion
https://docs.pycom.io/pycom_esp32/_downloads/exp_v03_pinout_v13.pdf -
Looks like the SDA, SCL and MOSI, MISO, CLK and RX0, TX0 and RX1, TX1 labels have all been removed in the latest drawings.
-
@Shaun
You have right@Lokefar look at pinout of Lopy it should be near same
https://docs.pycom.io/pycom_esp32/_downloads/lopy_pinout.pdf -
Thanks to Livius. That worked!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login