Skip to content

OSError: 5 when i2c is reading from memory #6

@KatiGithub

Description

@KatiGithub

_config1 = i2c.readfrom_mem(address, 0x25, 2)
This line is giving me lots of headache, I've tried using the proposed solution of using machine.SoftI2C instead but the sensor just outputs -273.15 which means that it is reading 0 from the sensor itself. I did an i2cscan and it the sensor is fine.

Anything would be of great help, Thanks. Btw, I'm using the Raspberry Pi Pico

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions