如何通过 Android 应用程序向 USB 引脚发送信号?

发布于 2024-12-28 23:27:25 字数 217 浏览 1 评论 0原文

我想通过我的应用程序以编程方式发送信号或一些电流。

我已经了解了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

芸娘子的小脾气 2025-01-04 23:27:25

这是不可能的,但您可以做的是通过蓝牙或 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文