Closed muendlein closed 2 years ago
Hi, The Stemma QT port on that QT PY is not on board.I2C, which uses the SDA and SCL pins marked on the side of the board. It is on board.SDA1 and board.SCL1.
import busio
i2c = busio.I2C(scl=board.SCL1, sda=board.SDA1)
With Circuitpython 7.2.0 (currently in realease candidate) you can use:
i2c = board.STEMMA_I2C()
Guides will surely be updated when the release is stable.
yep please check https://learn.adafruit.com/adafruit-qt-py-esp32-s2/i2c which has some example code/warnings!
Thanks for the hint! Seems like I have overlooked the obvious stuff...
CircuitPython version
Code/REPL
Behavior
It seems like the QT Py ESP32-S2 has some issues to get I2C running with the existing libraries using the Stemma QT interface.
RuntimeError: No pull up found on SDA or SCL; check your wiring
Description
Additional information
No response