如何启用和禁用USB插槽 [英] How can I enable and disable a USB slot

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

问题描述



我正在做一个学校项目,需要从PC上的程序启动微控制器.微控制器仅要求USB从低变高,然后再变回低,程序才能开始执行.

非常感谢您的帮助.

Hi

I am doing a project for school where I need to start a microcontroller from a program on my pc. The microcontroller requires only that the usb is turned from low to high and then back to low for the program to start exeuting.

Any help is greatly appreciated.

推荐答案

哪种MCU?
通常,对于这种情况,可以通过拔下USB电缆将其关闭,然后通过插入USB电缆将其打开.
听起来好像让我很麻烦,但这是我为自己的PIC所做的.
What kind of MCU?
In general, for this kind of thing, it gets turned off by unplugging, and turned on by plugging in, the USB cable.
It probably sounds like I''m, hassling you, but it is how I do it for my PICs.


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

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