[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Looking for serial port support AGSC
From:       "Caleb Tennis" <caleb () aei-tech ! com>
Date:       2006-07-11 14:44:32
Message-ID: 48545.192.168.2.159.1152629066.squirrel () www ! aei-tech ! com
[Download RAW message or body]

>> I know this is lame and has been asked 64 times before.
>> Currently, what is the best way to have access to serial ports
>> on a PC using Ruby ?

You don't mention the platform, but on Linux I just open /dev/tts/X and
read and write to it like a file.  As long as you have it set up before
hand using the stty command, it works just fine.

Caleb


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic