它是哪个Com端口? [英] Which Com Port is it ?

查看:59
本文介绍了它是哪个Com端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,

Hello Guys,

我在我的Raspberry PI 3上安装了Windows IoT。

i installed Windows IoT on my Raspberry PI 3.

现在我想读取串行数据Com Port并打开一些Leds。

Now i want to read serial Data with the Com Port and turn some Leds on.

我在哪里可以看到我的四个Com端口是哪个?

Where can i see which Com Port is it from the four i have?

问候Patrick

推荐答案

亲爱的朋友,

您是否使用过github的官方串口UART示例: 

Did you use the official Serial UART Sample from github: 

https://developer.microsoft.com/en-us/windows/iot/samples/serialuart

https://developer.microsoft.com/en-us/windows/iot/samples/serialuart

如果你试试这个,你会发现在此示例中连接的USB-to-TTL线缆的设备ID以'\?\USB #VID _ ****'开头。机载串行端口以  '\?\ ACPI#VID _ ****'开头。 

If you try this out, you will find that the device ID for the USB-to-TTL cable connected in this example begins with ‘\?\USB#VID_****’. And the on-board Serial Port begins with  ‘\?\ACPI#VID_****’. 

请参阅以下图片。


这篇关于它是哪个Com端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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