data='A';
for(i=0;i<30;i++)
{
USART_SendData(USART1, data);
data++;
while(USART_GetFlagStatus(USART1, USART_FLAG_TC)==RESET) ;
}
printf("\n\twww.yxarm.net");
printf("\n\ti value is %d",i);
printf("\n\ti value is %o",i);
printf("\n\ti value is %d, %d",i+i,i*i);
printf("\n\t-----------------------------");
}
while(RCC_GetFlagStatus(RCC_FLAG_PLLRDY) == RESET); //Wait till PLLCLK is ready
RCC_SYSCLKConfig(RCC_SYSCLKSource_PLLCLK); //Select PLL as system clock
while(RCC_GetSYSCLKSource()!=0x08); //Wait till PLL is used as system clock source
程序进入了32启动文件,在option for target/debug选项卡中勾上Run to main
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。