【发布时间】:2014-06-10 15:37:32
【问题描述】:
我已经安装了 Arduino 虚拟 USB 串行端口驱动程序,它在我的设备管理器中显示为 COM4。我通过在 powershell 中列出所有可用的串行端口来仔细检查
> [System.IO.Ports.SerialPort]::getportnames()
COM1
COM4
但是,当我尝试对串行端口进行回显时,它说它不存在
> echo helloworld > COM4
The system cannot find the file specified.
我正在尝试将一些固件上传到我的 arduino,但我一直被端口拒绝。尝试不同的 USB 会给我同样的结果。我写了一个小程序测试串口,报错:
串口“COM4”不存在。
【问题讨论】:
标签: serial-port arduino