Documentation
¶
Index ¶
- Variables
- func Close() error
- func Find() []string
- func GrReceive()
- func GrRxPrase()
- func GrTransmit()
- func Open(name string, baud int) error
- func Receive(buff []byte) ([]byte, error)
- func SendCmd(act variable.ActMode, v variable.CmdT) error
- func SendWriteCmd(v variable.T) error
- func Transmit(data []byte) error
- type T
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BoardSysTime time.Time = time.Now() // 虚拟电路板的系统时间
)
View Source
var Chch = make(chan string) // 新图表Json
View Source
var SerialCur = T{ Name: "", Mode: serial.Mode{ BaudRate: 115200, Parity: serial.NoParity, DataBits: 8, StopBits: serial.OneStopBit, }, Port: nil, }
Functions ¶
func GrTransmit ¶
func GrTransmit()
func SendWriteCmd ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.