i want to read and write 2 byte from register and i am using i2c protocol

i was using i2c_reg_read_byte and i2c_reg_write_byte commands for reading and writing in the code and everything is working fine and now i am using different sensor in which i had to read 2 bytes for reading and writing and i am stuck there 

Related