Hello, I am trying to interface bme280 with pca10040. I am using sdk12.2.2 and referring twi_sensor. I am able to make read function and it works as expected. I am facing some challenge in write function. My write function doesnt give me error but it is not writing anything in register. My slave address is 0x76, register address is 0xF4 and data I want to write is 0x01.
I am attaching my main.c here. write.txt
Please suggest me changes that I should make write function.
Thanks,