On Sat, Apr 16, 2011 at 4:14 PM, Brian Candler <b.candler / pobox.com> wrote:
> Superpelican X. wrote in post #993185:
>> Is there a special library or gem for this?
>
> Which platform are you running under?
>
> The ruby-serialport gem worked fine for me (under Linux) when I last
> tried it, although that was several years ago.

Make sure you have the baud and port number correct.
It's an often overlooked part of connecting to serial.
https://github.com/tenderlove/ruby-serialport
This might help also.
It also supports windows as well as linux (and theoretically mac)

Andrew McElroy

>
> --
> Posted via http://www.ruby-forum.com/.
>
>