This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPIO_SetupPinOptions后需要再GPIO_WritePin吗?



如果通过GPIO_SetupPinOptions将GPIO设置成输出后,还需要通过GPIO_WritePin写0或写1吗?

设置成输出后,有没有默认电平,是不是只需要通过GPIO_WritePin修改与默认电平不一致的GPIO?