COM端口是打开的,但事实并非如此 [英] COM port is open, but it isn't

查看:93
本文介绍了COM端口是打开的,但事实并非如此的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习使用Visual Studio 2015与Visual Micro对Arduino进行编程。 我有一个
'Blink'(在Arduino,那是'Hello World')程序运行,我打开COM5将程序上传到Arduino板。   COM5的串行输出显示上传到电路板的最后一个程序的输出,但VS告诉我该端口是
未打开。

I am learning to use Visual Studio 2015 with Visual Micro to program Arduino.  I have a 'Blink' (in Arduino, that's 'Hello World') program to run and I opened COM5 to upload the program to the Arduino board.  Serial output for COM5 displays the output of the last program uploaded to the board, but VS tells me the port is not open.

如何在打开端口时打开端口?

How can I get the port open when it's open?

推荐答案

我不知道Arduino的这个VS附加组件,但如果它打开了COM端口由它自己,其他进程不能使用这个端口。

I don't know this VS add-on for Arduino, but if it opens the COM port by its own, other processes cannot use this port.

在Windows COM端口是独占设备,它们只允许一个并发打开。

In Windows COM ports are exclusive devices, they allow only one concurrent open.

没有奇迹......

No miracles...

- pa


这篇关于COM端口是打开的,但事实并非如此的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆