简体   繁体   English

如何从Android 4.2.2设备向LED发送信号? (Eclipse和USB电缆)

[英]How can I send a signal to LEDs from my Android 4.2.2 device? (Eclipse & USB cable)

I am trying to use my Android 4.2.2 in order to illuminate my LED circuit. 我正在尝试使用Android 4.2.2来点亮我的LED电路。 I can do this with y microprossessor, so why couldn't do this with Android? 我可以用y microprosssor做到这一点,那么为什么不能用Android做到这一点呢? I want to touch a button than make an open signal, then send this through the USB cable to my LED circuit. 我要触摸按钮而不是发出打开信号,然后通过USB电缆将其发送到我的LED电路。

I am electronics engineering student. 我是电子工程系的学生。 Is there any Android codes to do this? 是否有任何Android代码可以做到这一点?

Are you on about controlling your LED by perhaps holding Data+ USB pin high or something like this? 您是否打算通过将Data + USB引脚保持为高电平或类似的方式来控制LED? http://android.serverbox.ch/?p=549 http://android.serverbox.ch/?p=549

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android应用程序通过USB电缆的数据引脚发送信号 - android app to send a signal through the data pin of the usb cable 如何通过我的 Mac 上的 USB 在我的设备上运行/调试我的 android 应用程序? - How can I run/debug my android app on my device via USB from my mac? 使用USB电缆从我的电脑安装.apk文件到Android设备 - While installing .apk file from my pc to android device using usb cable 使用USB电缆将数据(文本行)从计算机发送到我的Android应用程序 - send data (text lines) from computer to my android application with usb cable 使用USB电缆连接时,在Eclipse中未检测到设备 - Device not detected in Eclipse when connected with USB cable 通过OTG线缆从USB设备向Android平板电脑提供电源 - Drawing power from USB device to android tablet through OTG cable 从USB电缆拔出设备时,Android HandlerThread停止工作 - Android HandlerThread stops working when device unplugged from USB cable 如何使用USB电缆以编程方式将文件从PC复制到Android设备 - How to copy files from PC to Android Device programmatically using USB cable 如何通过USB从Android设备生成视频信号? - How to generate a video signal from Android device via USB? 可以通过 USB 电缆从 Android Studio 发送“发布”版本吗? - Possible to send “release” build, over USB cable, from Android Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM