Raspberry Pi - I2C Communication
Which of the following is the correct syntax to write the byte value 0x1A to register 0x10 of an I2C device at address 0x20 using
smbus2 in Python?smbus2 in Python?write_byte_data(i2c_addr, register, value).bus.write_byte_data(0x20, 0x10, 0x1A).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions