Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running m=max30102.MAX30102() #11

Open
BarbaReyes opened this issue Nov 6, 2023 · 0 comments
Open

error running m=max30102.MAX30102() #11

BarbaReyes opened this issue Nov 6, 2023 · 0 comments

Comments

@BarbaReyes
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant