启用/禁用USB端口 [英] Enable/Disable USB port

查看:104
本文介绍了启用/禁用USB端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

除了USB电缆,我只想让LED闪烁.我已将电缆的一端切开,然后将每根电缆都连接到一块面包板上.由于LED不符合USB协议,因此我无法使用D +和D-线.所以我决定连接LED 到Vb并通过电阻连接到电缆的接地端.

I want to blink a led with nothing but a usb cable. I have cut the cable one the one edge and connected each one of them on a breadboard. Since the led does not comply with the usb protocol I can not use D+ an D- lines. So I decided to connect the led to Vb and through a resistor to gnd of the cable.

我创建了一个窗体,其中有两个按钮,每个按钮控制led的状态(当您按下button1时,led点亮,而当您按下另一个按钮时,led熄灭).是否可以启用/禁用特定的USB端口.

I created a form with two buttons each one controlling the state of the led (when you press button1 the led turn on and when you press the other button it turns off). Is there any to enable/disable a specific usb port.

 

预先感谢

推荐答案


你好,


Hello,

谢谢您的发帖!我建议将您的问题发布到Microsoft开发人员网络>之一中.论坛首页> Visual Studio速成版论坛> Visual Basic Express Edition位于此处:

Thank you for your post!  I would suggest posting your question in one of the Microsoft Developer Network > Forums Home > Visual Studio Express Editions Forums > Visual Basic Express Edition located here:

http://social.msdn.microsoft.com/Forums/en-IE/Vsexpressvb /threads

希望这对您有所帮助.
 
祝你有美好的一天!

Hope this helps you.
 
Have a great day!

谢谢!
迪内什
第2层应用程序支持
服务器和工具在线运营团队

Thanks!
Dinesh
Tier 2 Application Support
Server and Tools Online Operations Team


这篇关于启用/禁用USB端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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