blink stm32 cubemx
This commit is contained in:
18
STM32/STM32CUBE/BlinkSTM32/include/main.h
Normal file
18
STM32/STM32CUBE/BlinkSTM32/include/main.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __MAIN_H
|
||||
#define __MAIN_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
void Error_Handler(void);
|
||||
#define LED_Pin GPIO_PIN_13
|
||||
#define LED_GPIO_Port GPIOC
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user