已经完成了网络,DI口,RS485的数据透传,可通过RS485接收数据
This commit is contained in:
8
Core/Inc/data_source.h
Normal file
8
Core/Inc/data_source.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef __DATA_SOURCE_H
|
||||
#define __DATA_SOURCE_H
|
||||
|
||||
/* 数据源标识 */
|
||||
#define SOURCE_RS485 0x01
|
||||
#define SOURCE_DI 0x02
|
||||
|
||||
#endif /* __DATA_SOURCE_H */
|
||||
Reference in New Issue
Block a user