[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby, USB, and Windows

Michael Brock

6/16/2005 11:02:00 PM

I just started playing with Ruby. My ultimate goal is to write a program to
communicate with my Concept2 rowing machine (obviously a hobby). I did the
mandatory Google search and got the impression that communicating via USB in
windows is possible; unfortunately, I didn't end up with much detail on how
to go about it.

Can anyone point me to a tutorial, provide some example code, suggest a
starting point, recommend a book, or whatever to get me started?

Thanks,

Michael


1 Answer

Luke Graham

6/16/2005 11:38:00 PM

0

Michael,

Theres plenty of information out there about mixing Ruby and C, so it
shouldnt be hard to implement Ruby functions in C that twiddle the
right bits in Windows to do USB. The difficult part will be getting
enough info about the protocol the rowing machine uses to do anything
useful.

Good luck,
spooq

On 6/17/05, Michael Brock <mike@junkmikeplays.com> wrote:
> I just started playing with Ruby. My ultimate goal is to write a program to
> communicate with my Concept2 rowing machine (obviously a hobby). I did the
> mandatory Google search and got the impression that communicating via USB in
> windows is possible; unfortunately, I didn't end up with much detail on how
> to go about it.
>
> Can anyone point me to a tutorial, provide some example code, suggest a
> starting point, recommend a book, or whatever to get me started?
>
> Thanks,
>
> Michael
>
>
>
>


--
spooq