添加工程应用文件

This commit is contained in:
2026-07-05 13:20:02 +08:00
parent 47079ae36a
commit a9fc53c97b
6 changed files with 175 additions and 1 deletions
Executable
+39
View File
@@ -0,0 +1,39 @@
//
// Created by anonymous on 2026/5/28.
//
#ifndef _BOARD_H
#define _BOARD_H
/* Voilet Bsp */
#include "VoiletPort.h"
/* Chip Library Enable */
/* Extra Library Enable */
#define TTY_COM COM1
#define TTY_BAUD 115200
#define LED_NUM 2 //LED灯数量
enum {
LED0 = 0,
LED1
};
#define DI_NUM 0 //数字信号输入通道数量
// enum {
//
// };
#define DO_NUM 0 //数字信号输出通道数量
// enum {
//
// };
#define RS485_1 COM1
// #define RS485_2
// #define RS485_3
// #define RS485_4
// #define RS485_5
#endif //_BOARD_H