初始化
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Delay.h (修改后)
|
||||
#ifndef __DELAY_H
|
||||
#define __DELAY_H
|
||||
|
||||
#include "stm32f10x.h" // 确保包含了这个
|
||||
|
||||
// 添加下面两个函数的声明
|
||||
void Delay_Init(void);
|
||||
uint32_t Get_Time_ms(void);
|
||||
|
||||
// 保留你原有的函数声明
|
||||
void Delay_us(uint32_t us);
|
||||
void Delay_ms(uint32_t ms);
|
||||
void Delay_s(uint32_t s);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user