Is it possible to read 3 parameters over Smbus?
First, I say which 8 bit are to read or write:
bus.write_byte_data(0x08, 0x4E, 0x30)
I write follow command (3 parameters):
bus.write_byte_data(0x08, 0x4D, 0x10)
but I can only read all 8 bits out:
bus.read_byte_data(0x08, 0x4C)
This reads all 8 bits, but I need something like:
bus.read_byte_data(address, cmd, data)
This way it makes it hard to program because I get other numbers back if I write something else and then read it again.