Hello, I am trying to interface bme 280 with nrf52. I am using sdk12.2.2 and referring code twi_sensor.
I am able to initialize the I2C drivers and I can read the chip id of bme280. I am facing some strange issues.
I have variable named val in my main function and I want to get the value of chip id of bme180 into my variable named val. But every time when I debug I am getting this variable empty.
When I step into my function at that time only I am able to read chip id.
So can you please help me to get my chip id in variable named val?
Thanks,