#include stm32f10xh Device headervoid LED_Initvoid RCC_APB2PeriphClockCmdRCC_APB2Periph_GPIOA ENABLE; GPIO_InitTypeDef GPIO_InitStructure;ÉùÃ÷Ò»¸ö½á¹¹Ìå GPIO_InitStructureGPIO_Mode
int main() { LED_Init();
while(1)
{
LED1_Turn();
LED2_Turn();
LED3_Turn();
LED4_Turn();
}
}
原文地址: https://www.cveoy.top/t/topic/g6La 著作权归作者所有。请勿转载和采集!