Skip to content

Rpi Pico HW i2c initialization problem #6

@dingo27mobile

Description

@dingo27mobile

Hello Mike,

i am trying to initialize this with HS i2c in RPi Pico, but no success, only on SW...
i have 128x128 display, with SW it works ok, but slow
in samples and documentation i cannot see how to tell in code which i2c pins i am using.

import ssd1327
from machine import I2C, Pin
i2c = I2C(0, scl=Pin(1), sda=Pin(0), freq=400000)
display = ssd1327.SSD1327_I2C(128, 128, i2c)

with this it shows ->
Traceback (most recent call last):
File "", line 4, in
File "ssd1327.py", line 178, in init
File "ssd1327.py", line 78, in init
File "ssd1327.py", line 113, in init_display
File "ssd1327.py", line 186, in write_data
OSError: [Errno 110] ETIMEDOUT

is there error in library, or my code... ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions