初始提交
This commit is contained in:
12
Core/Src/led.c
Normal file
12
Core/Src/led.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "main.h"
|
||||
#include "can.h"
|
||||
#include "dma.h"
|
||||
#include "usart.h"
|
||||
#include "gpio.h"
|
||||
#include "math.h"
|
||||
void LED_ON()
|
||||
{
|
||||
HAL_GPIO_WritePin(GPIOH, GPIO_PIN_10, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOH, GPIO_PIN_11, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOH, GPIO_PIN_12, GPIO_PIN_SET);
|
||||
}
|
||||
Reference in New Issue
Block a user