I am trying to read the measurement registers from MPU6050 via i2c, the MCU was able to detect the MPU6050, but i am not able to read the measurement registers, i am using the Hal i2c drivers and i have pasted my code ?
int main(void){ /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE ...