Trouble with my first pi pico...

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
Swimmoney
Posts: 1
Joined: Sun Jun 12, 2022 7:37 pm

Trouble with my first pi pico...

Post by Swimmoney » Sun Jun 12, 2022 7:43 pm

Hi all,

I 'm trying to get my Pi Pico with a Waveshare 2.23 ( https://www.waveshare.com/wiki/Pico-OLE ... nvironment ) to display some text. I have used multiple ssd1306 including the one provided with the demo code provided and it keep coming up with multiple error like the one below. I am a noob and I'm just trying to get started but I'm really struggling so any help would be appreciated.

Traceback (most recent call last):
File "<stdin>", line 10, in <module>
File "ssd1306.py", line 118, in __init__
File "ssd1306.py", line 37, in __init__
File "ssd1306.py", line 74, in init_display
File "ssd1306.py", line 123, in write_cmd
OSError: 5

Many thanks

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Trouble with my first pi pico...

Post by pythoncoder » Mon Jun 13, 2022 8:38 am

The OLED in your link uses an SSD1305 yet your code is using an SSD1306 controller. This may have something to do with the error.
Peter Hinch
Index to my micropython libraries.

Post Reply