I have had good success using the RP2040 with the OLED boards, but not with the SerLCD 16396/397 displays. I’m trying to get the example file ex1_qwiic_serlcd_hello_world.py working with my RP2040 through the qwiic connector. I think the problem is what package do I search for and install using PyPI?
Are you using qwiic for both types of screens?
Be sure you have the qwiic package loaded/installed sparkfun-qwiic · PyPI
I am using the qwiic_i2c library with the Pro Micro RP2040 running the ssd1306 OLED.
I downloaded the sparkfun_qwiic-2.0.0.tar.gz file, then tried to install it via “Manage packages”, getting an error message using the RP2040 and the LCD.
Randy
What is the error message?
I’m using the “ex1_qwiic_serlcd_hello_world.py” example. Error message is
MPY: soft reboot
Traceback (most recent call last):
File “”, line 45, in
ImportError: no module named ‘qwiic_serlcd’
This is because I cannot determine how to load qwiic_serlcd
Line 45 is “import qwiic_serlcd”
As I mentioned earlier, I’ve had good success in other projects adding these libraries by using Tools → Manage packages.
When searching this way for qwiic_serlcd Search results comes up empty.
Could this be because I’m using a Pro Micro RP2040? The github page https://github.com/sparkfun/qwiic_serlcd_py does not show that the RP2040 is supported, only the RP2040 Thing+ and the RP2350 Thing+. I have an RP2350 Thing+ on order.
Has anyone gotten one of these SerLCD displays to work with an RP2040 or a Pico?
Randy
I suspect you’re going to be right…let me know how testing with the 2350 thing+ goes!
I think I may be getting closer. I found the qwiic_serlcd.py file and uploaded it to the device (RP2350 Thing+). BTW, this new device came preloaded with a program to exercise the WS2812 RGB LED, which was good to see working.
This file refers to “import qwiic_i2c” in line 74, and I assume this means qwiic_i2c.py.
I cannot find qwiic_i2c.py anywhere, including on
https://github.com/sparkfun/Qwiic_I2C_Py/tree/master/qwiic_i2c where there are 4 other i2c.py files.
Thanks for any assistance.