Created
December 20, 2016 04:20
-
-
Save yuqlid/f9c380f1537a8c3b38b3fa5c29cd1d99 to your computer and use it in GitHub Desktop.
sw4stm32 helloworld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
****************************************************************************** | |
* @file main.c | |
* @author yuqlid | |
* @version V1.0 | |
* @date 15-June-2016 | |
* @brief Default main function. | |
****************************************************************************** | |
*/ | |
#include "stm32f4xx.h" | |
#include "stm32f4_discovery.h" | |
int main(void) | |
{ | |
HAL_Init(); | |
BSP_LED_Init(LED3); | |
for(;;){ | |
HAL_Delay(500); | |
BSP_LED_Toggle(LED3); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment