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.
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.