first commit
This commit is contained in:
17
APP/LED.h
Normal file
17
APP/LED.h
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by hu123456 on 2024/1/24.
|
||||
//
|
||||
|
||||
#ifndef FOC_N_LED_H
|
||||
#define FOC_N_LED_H
|
||||
|
||||
#include "mymain.h"
|
||||
|
||||
|
||||
#define LED_ON HAL_GPIO_WritePin(GPIOB, GPIO_PIN_9, 0)
|
||||
#define LED_OFF HAL_GPIO_WritePin(GPIOB, GPIO_PIN_9, 1)
|
||||
|
||||
void led_init();
|
||||
|
||||
|
||||
#endif //FOC_N_LED_H
|
Reference in New Issue
Block a user