first commit
This commit is contained in:
Executable
+41
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// 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 3 // 数字信号输入通道数量
|
||||
enum {
|
||||
KEY_WK_UP = 0,
|
||||
KEY_0,
|
||||
KEY_1,
|
||||
};
|
||||
|
||||
#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