コード例 #1
0
ファイル: SerialChannel.go プロジェクト: ThingFu/hub
func (s SerialChannel) Write(req api.WriteRequest) {
	content := req.Get("content").(string)

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