串口和中断写完

This commit is contained in:
2026-05-25 23:53:30 +08:00
parent 589b67a3f9
commit bedceb1785
4 changed files with 15 additions and 20 deletions
+1 -3
View File
@@ -6,14 +6,12 @@
#include <stdint.h>
/* BSP文件 */
#include "main.h"
#include "Bsp.h"
#include "Voilet.h"
int main(void) {
VoiletBspInit();
UartStdConfig((COM_MAP_T)COM1,9600);
while (1) {
LedToggle(LED0);
DelayMs(100);