USB

J

javra

Hi,
Is there any programme or library in ruby to drive own hardware via
USB? Or do I have to implement my own C functions?
 
V

vasudevram

Paul said:
Ruby doesn't have the sort of close-to-the-hardware functions to do this
sort of thing, also Ruby programs are "better" when designed to be
cross-platform, so a driver approach might work out better overall.

javra:

Google for libusb.
The first two hits are for the *nix project and the Windows port of it.
Might help. You'd have to write a Ruby-C extension for it though.
Might turn out to be easier/faster than writing your own USB driver, if
that's what you meant.

HTH
Vasudev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Vasudev Ram
Dancing Bison Enterprises
Software products, consulting and training
http://www.dancingbison.com
http://jugad.livejournal.com
http://dancingbison.blogspot.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top