I2C: how to read a single byte without register address?



  • Some ICs, such as PCF8574 bus expander, have not any internal registers and accessible using the device address only. So we can write or read data using device address only. If say about Python module, for writing we can use i2c.write(addr, byte) where addr is I2C slave device address. But what about reading data from device where register address is not used? How I can read single byte using Python module if device have not register address?


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.