Solved
Difenrence between pin mcu pin and gpio port
if one pin have two pin name for example d14 could be mcu pin as PD12 ,o PA9 at gpio port. But for gpio_init()should be PD12, the PA9 is for which part to use?
if one pin have two pin name for example d14 could be mcu pin as PD12 ,o PA9 at gpio port. But for gpio_init()should be PD12, the PA9 is for which part to use?
Don't confuse pinout of board connectors with pinout of the STM32 chip itself. HAL code always uses the pin names on the chip itself.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.