Qwiic_I2C_Py
Qwiic_I2C_Py copied to clipboard
Failure to initialize on production XRP hardware
This library fails to initialize an I2C port on the production XRP controller board.
To reproduce:
- Install Qwiic_I2C_Py to the XRP by following the instructions at https://docs.sparkfun.com/SparkFun_Optical_Tracking_Odometry_Sensor/software_setup-Python/#install-qwiic_i2c_py
- Execute the following code on the XRP
import qwiic_i2c
q = qwiic_i2c.getI2CDriver()
Actual result when running on an XRP controller board:
>>> MicroPython v1.25.0-preview.beta06 on 2025-02-17; SparkFun XRP Controller with RP2350
Type "help()" for more information.
>>> import qwiic_i2c
>>> q = qwiic_i2c.getI2CDriver()
'id' argument required
error: failed to connect to i2c bus
>>>