How can I set pb8 to SDA on stm32f103rc?
Posted on April 19, 2018 at 08:10I want I2C function on stm32f103rct.pb8-> sda and pb9-> sclI set ports configuration like this#define I2C_SCL_HIGH GPIOB->BSRR = 0x00000200 //PB9 0x00000200 set PB9 to 1#define I2C_SCL_LOW GPIOB->BRR = 0x0...