Effacer les filtres
Effacer les filtres

how to send a signal through a usb to a hardware device and make a LED glow

3 vues (au cours des 30 derniers jours)
mahendra kumar
mahendra kumar le 30 Avr 2012
how to send a signal through a usb port to a hardware device and make a LED glow

Réponses (1)

Walter Roberson
Walter Roberson le 30 Avr 2012
USB is by definition a serial bus; any information sent over the bus is only present on the bus for a small fraction of a second. You thus cannot send and hold a signal via USB. Instead you would have to send data that the destination hardware interpreted as indicating the appropriate LED state.
There are suitable USB-compatible devices available: see http://www.mathworks.com/matlabcentral/answers/18366-how-to-send-a-signal-to-usb

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by