Hi,
I can’t get this driver to work with my Raspberry Pi Pico W (RP2040). I get an error when I connect any of Sparfun’s qwiic sensors, despite installing all dependent packages etc.
Here are some examples of sensors:
0.91 in. OLED Display
SparkFun Qwiic OLED Display - Hello Example
Unable to load I2C driver for this platform.
Unable to load the I2C driver for this device
The Qwiic OLED Display isn't connected to the system. Please check your connection
but it shows up on the I2C bus:
Scan i2c bus...
i2c devices found: 1
Decimal address: 60 | Hexa address: 0x3c
Qwiic TMP102 Sensor
SparkFun Qwiic TMP102 Sensor Test Example
Unable to load I2C driver for this platform.
Unable to load the I2C driver for this device
Initialized.
Traceback (most recent call last):
File "<stdin>", line 27, in <module>
File "<stdin>", line 21, in runExample
File "/lib/qwiic_tmp102.py", line 149, in read_temp_f
File "/lib/qwiic_tmp102.py", line 122, in read_temp_c
AttributeError: 'NoneType' object has no attribute 'readBlock'
Scan i2c bus...
i2c devices found: 1
Decimal address: 96 | Hexa address: 0x60
I get this error on every qwiic sensor. Does this library not support it, how can I make it work, if someone can help me I would greatly appreciate it.
By the way, I saw such a PR: https://github.com/sparkfun/Qwiic_Py/pull/14
No RP2040 support?