开发者

Sending signals to USB port C

I want to send a simple 开发者_如何转开发5V signal to the usb port. The USB cabel's insulation will be removed and connected to relay connected to an electric door system. I think I should write this code in C. Can somebody give me a hint?

Thanks in advance!


You can't do this directly but you can buy low cost USB hobbyist/prototyping/interface boards from a number of different vendors, e.g. http://www.devasys.com/usbi2cio.htm.

You might also want to try asking on http://electronics.stackexchange.com since this is more of a hardware interfacing question than a programming question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜