first commit

This commit is contained in:
liyp
2026-08-25 21:46:36 -04:00
commit 23ea3387df
15 changed files with 768 additions and 0 deletions
+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