添加串口操作类
Some checks failed
Build and Upload Artifact / build and upload-artifact (push) Failing after 13s

This commit is contained in:
chauyin
2025-05-06 22:34:51 +08:00
parent 2018adcf78
commit c7a965ed3c
18 changed files with 22698 additions and 30 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
#include "main.h"
#ifdef __cplusplus
extern "C" {
#endif
#define TIM_DELAY htim7
void DelaySetup(void);
void DelayUs(uint16_t nus);
void DelayMs(uint32_t nms);
void DelayS(uint32_t ns);
#ifdef __cplusplus
}
#endif