Search found 2 matches
- Thu Mar 24, 2022 8:49 am
- Forum: General Discussion and Questions
- Topic: Bytes type for write in register
- Replies: 1
- Views: 688
Bytes type for write in register
Hi, guys. I am a green hand in learning Micropython. At the moment, I try to understand other people's code for driving AFE4404 (a analog preprocessor) def AFE_Enable_Read(self): #Prohibit writing to registers configData = bytes([0x00,0x00,0x01]) self.i2c.mem_write(configData, self.address, AFE_CONT...
- Mon Jan 24, 2022 7:13 am
- Forum: General Discussion and Questions
- Topic: OSError: [Errno 5] EIO I2C based MAX30102 (Heart-rate sensor)
- Replies: 0
- Views: 10823
OSError: [Errno 5] EIO I2C based MAX30102 (Heart-rate sensor)
:cry: Hi, Guys, I am trying to write and read data from I2C based MAX30102 (Heart-rate sensor). When I try to execute i2c.mem_write in the initial reset, I get the following OS Error "OSError: [Errno 5] EIO". I have already added some delays before and after this statement. However, when I try the s...