User Activity

I have this code that works and i can turn an LED on:#include "stm32f10x.h"   void RCC_Init(void){   RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; }   void GPIO_Init(void){ GPIOC->CRH |= GPIO_CRH_CNF13_0 | GPIO_CRH_MODE13_0 | GPIO_CRH_MODE13_1; }   int main(vo...
Hi,I'm trying to interface with an MPU6050 with STM32F103C8T6 Blue pill board or the so called stm32duino board. I have code written as such:/* USER CODE BEGIN 2 */ if(HAL_I2C_IsDeviceReady(&hi2c1, MPU6050_ADDRESS, 2, 10) == HAL_OK){ HAL_GPIO_Toggle...