规范串口通讯
This commit is contained in:
@@ -13,7 +13,8 @@ import (
|
||||
|
||||
type Reader interface {
|
||||
io.Closer
|
||||
SetSlave(uint8)
|
||||
// SetSlave 设置读卡器的 UnitID
|
||||
SetSlave(byte)
|
||||
// WriteUnitId 写入读卡器的 UnitID
|
||||
WriteUnitId(uint16) error
|
||||
// Init 初始化读卡器配置
|
||||
|
||||
Reference in New Issue
Block a user