@György-Farkas Thank you for responding, If I wish to send the 0x0c command to get the data that I need, and knowing that the data frame must be sent as shown in the image. I'm trying to send differents ways to get the data from sensor.
from OmegaExpansion import onionI2C
i2c=onionI2C.OnionI2C(0)
I think that the next options could serve
Option1
Device=0x70
Command=0x0C
VectorBytes=[0x00, 0x00, 0x00, 0x00, 0xF3] #0xF3 is the CRC calculated
status = i2c.writeBytes(Device,Command, VectorBytes)
Option2
Device=0xE0
Command=0x0C
VectorBytes=[0x00, 0x00, 0x00, 0x00, 0xF3] #0xF3 is the CRC calculated
status = i2c.writeBytes(Device,Command, VectorBytes)
Option3
Device=0xE0
VectorBytes=[0x0C,0x00, 0x00, 0x00, 0x00, 0xF3] #0xF3 is the CRC calculated
status = i2c.write(Device, VectorBytes)
Option4
Device=0x70
VectorBytes=[0x0C,0x00, 0x00, 0x00, 0x00, 0xF3] #0xF3 is the CRC calculated
status = i2c.write(Device, VectorBytes)
Option5
Device=0x70
AddressData=???
size=7
Data= i2c.readBytes(Device, AddressData, size)
Note:
I just tried with the option 1 and option4. The problem with the option 2()(I think that it's the correct) and option3, is that the device address is 0x70, but when i put the parameter "Device" that really is 0x70(0b1110000) but due to that the write bit is 0 , the "new address" change to E0(0b1110000). I get a error because the 0xE0 it's not a know address(don't exist).
I don't know if I'm clear with the problem :c. I would appreciate if you could clear my doubts or helm me with an alternativeto solve my problem.