Skip to content

Arduino Nano RP2040 Busio I2C Specify Address  #7148

@CaptainHaddock2016

Description

@CaptainHaddock2016

I'm using an Arduino Nano RP2040 and trying to use an I2C LCD display (connected to the default SDA and SCL pins) with CircuitPython but when creating the busio I2C class (using the default SDA and SCL pins) on my board it returns the exception: "ValueError: No I2C device at address: 0x20". I've used busio.i2c.scan and it returns 3 (when the lcd is connected, and 2 addresses when not) different I2C addresses (the other 2 addresses are the sensor chip built into my board and the crypto engine), using that I found that the lcd's address was 0x27. Is there any way to specify the I2C address when creating an instance of the busio I2C class or am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions