zhyinch
2019-11-05 a58107e9dcf49b7bf0b31cf201d29069550fd6cd
源码/核心板/Src/ExternalDevices/led.c
@@ -6,12 +6,12 @@
      
   /* Enable GPIO clock */
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
    // Enable GPIO used for DW1000 wakeup
    GPIO_InitStructure.GPIO_Pin = LED0_PIN;
     GPIO_InitStructure.GPIO_Pin = LED0_PIN|LED1_PIN;
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_Init(LED0_GPIO, &GPIO_InitStructure);
      LED1_BLINK;
}
void GPIO_Toggle(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)