Пример #1
0
func (s SerialChannel) Write(req api.WriteRequest) {
	content := req.Get("content").(string)

	s.serial.Write([]byte(content))
}