如何通过 Android 应用程序向 USB 引脚发送信号?
我想通过我的应用程序以编程方式发送信号或一些电流。
我已经了解了 Android 的 USB 主机和附件模式,但它没有用。
我仅限于 android 2.3.4 并且我有 OTG 电缆。
我有一块 LED 板,代表 USB 的 4 个引脚,我想通过我的应用程序向任何一个引脚发送信号。
经过大量谷歌搜索后,我在这里发布这个问题。
提前致谢。
I want to send signal or some current in programmatic way through my application.
I have gone through USB host and accessory mode of the android but its not usefull.
I am restricted to android 2.3.4 and I have OTG cable.
I have a LED board which represents 4 pins of the usb, I want to send signal to any one of the pin, throuh my application.
After a lot of googling, I am posting this question here.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是不可能的,但您可以做的是通过蓝牙或 WiFi 与另一台设备通信,并与驱动 USB 端口的适当软件建立连接。
It's not possible, but what you CAN do is communicate with another device with bluetooth or wifi and establish a connection with a proper software that drives the usb port.