Skip to content

error running m=max30102.MAX30102() #11

@BarbaReyes

Description

@BarbaReyes

I have the max30102.py script in my folder and i have made sure that my rpi is detecting the sensor via i2c it even shows on address 57, however when i try to run

Import max30102 m =max30102.MAX30102() red, ir = m.read_sequential()

I get the following error:
line 83, in reset self.bus.write_i2c_block_data(self.address, REG_MODE_CONFIG, [0x40])
OSError: [Errno5] Input/Output error.

What can i do to solve this issue? Im using python 2.7.18 and have the necessary libraries installed.

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