添加工程应用文件
This commit is contained in:
Executable
+39
@@ -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
|
||||
Reference in New Issue
Block a user