clean shit

This commit is contained in:
2024-12-29 22:59:07 +08:00
parent 444804efe4
commit 0ebe9c5d16
15 changed files with 104 additions and 131 deletions

View File

@@ -6,24 +6,7 @@
#define LED_H
#include "gd32e23x_it.h"
#include "gd32e23x.h"
#include "systick.h"
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/******************************************************************************/
#define LED_PORT GPIOA
#define LED_PIN GPIO_PIN_7
#define LED_RCU RCU_GPIOA
#define LED_TIMER_RCU RCU_TIMER16
#define LED_TIMER TIMER16
#define LED_IRQ TIMER16_IRQn
/******************************************************************************/
#include "board_config.h"
void led_config(void);