Hey I am a beginner and I want to use mpu-6050 interrupts to sample the sensor values. I am able to read and write values through i2c but I want to read values only when any interrupt is generated. Is there any code or any kind of help will be appreciated ?
NOTE: I want to use this code in keil not in arduino.