极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 46051|回复: 4

求大神 Arduino程序上传不成功 显示系统找不到指定文件

[复制链接]
发表于 2014-7-15 20:28:10 | 显示全部楼层 |阅读模式
就是直接打开软件里有的也显示错误
错误信息显示是
avrdude: ser_open(): can't open device "\\.\COM1": 系统找不到指定的文件。
程序
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the Uno and
  Leonardo, it is attached to digital pin 13. If you're unsure what
  pin the on-board LED is connected to on your Arduino model, check
  the documentation at http://arduino.cc

  This example code is in the public domain.

  modified 8 May 2014
  by Scott Fitzgerald
*/


// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}
错误信息显示是
avrdude: ser_open(): can't open device "\\.\COM1": 系统找不到指定的文件。

回复

使用道具 举报

发表于 2014-7-16 23:45:35 | 显示全部楼层
本帖最后由 Ansifa 于 2014-7-17 00:15 编辑

是还没选对串口。在菜单栏的工具-端口,选别的COM口
回复 支持 1 反对 0

使用道具 举报

发表于 2015-9-8 15:17:07 | 显示全部楼层
应该是串口被占用了,
可能是其他外部软件,例如Repetier-Host等等;
也可能是内部程序或者其他扩展板,例如蓝牙等等。
回复 支持 反对

使用道具 举报

发表于 2015-12-1 23:41:39 | 显示全部楼层
你用的应该是win7以上的系统,右击arduino图标,选择“用管理员身份运行”,就可以了。
回复 支持 反对

使用道具 举报

发表于 2015-12-1 23:49:30 | 显示全部楼层
USB 接口, 正常應該不會是 COM1 的, 樓主是否沒有選 port?  
arduino IDE 應該自動隱藏了 COM1 吧, 樓主怎麼會是 COM1 的?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-5-12 07:13 , Processed in 0.038469 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表