For accessing the slave registers, master has to
The following devices are connected on board,
# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: UU -- -- -- -- -- -- -- -- -- -- -- 1c -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
import smbus BUSNO = 0 SLAVE = 0x20 # Slave address depends on the device. REG = 0x00 # Register address depends on the device. i2c = smbus.SMBus(BUSNO) i2c.open(BUSNO) data = i2c.read_byte_data(SLAVE, REG)