compiler-errors - 在设备管理器中找不到 arduino COM1 端口

标签 compiler-errors port arduino-uno

我正在为我的 arduino uno 编写草图,但是当我尝试编译它时,出现以下错误:

avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.

我在网上寻找答案,它说要在设备管理器中更改我的arduino的COM1端口。但是,当我查看设备管理器时,我找不到端口。

最佳答案

如果您使用的是 ch341g,有时您的操作系统可能无法检测到串行接口(interface)。您需要安装适当的驱动程序才能使其正常工作。安装好ch341g驱动后,可以在设备管理器和Arduino IDE工具中查看。 mac OSX 的说明是 here .对于 Windows,说明是 here .

关于compiler-errors - 在设备管理器中找不到 arduino COM1 端口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38626303/

相关文章:

c++ - 构造函数和包含 header 的问题

java - 为什么我收到错误: cannot find symbol for JComponent?

port - VHDL - 端口映射 - 将组件的不同端口映射到不同的实体

C++字符串匹配(主机名和端口)

arduino - 带有 ESP8266 的 RC522 不工作 Arduino uno

Java 程序使用或覆盖已弃用的 API?

compiler-errors - 空未声明的标识符错误

networking - 从UDP数据包中获取IP地址和端口

bluetooth - 无法将 HM-10 蓝牙连接到 Arduino Uno

http - 服务器在来自 SIM908 的几次 GET 请求后禁用页面