1 like this:
2 0 RCC_APB2PeriphClockCmd (RCC_APB2Periph_GPIOF, ENABLE);
3 1 GPIO_InitTypeDef GPIO_InitStructure;
4 2 GPIO_InitStructure. GPIO_Pin=GPIO_Pin_13;
5. 3 GPIO_InitStructure GPIO_Mode=GPIO_Mode_Out_PP;
6 4 GPIO_InitStructure. GPIO_Speed=GPIO_Speed_50MHz;
7. 5
8 6 GPIO_Init (GPIOF, & amp; GPIO_InitStructure);
9 7 GPIO_SetBits (GPIOF, GPIO_Pin_13);
10 but I measured with a multimeter, always can't get higher voltage of PF13.
11. Don't know can use stm32f10x_gpio c function configuration, solving
CodePudding user response:
103 ze good expensive lately,,, I see the price of JLC is hundreds of pieces,,,,,,,