Hi,
After messing around with Ruby and Windows serial programming for a few days,
I’ve decided to release my efforts to the public. I’ve created a Ruby library
that wraps around a small C library I created to manipulate the serial port
using the Win32 API. This library makes it trivial to setup serial
communications using Ruby under Windows, and it allows you to easily set the
approprite baud, parity, stopbits, and bytesize. Since it uses the Win32 API,
it’s independent of Cygwin and should compile using VC++ as well. You can view
the project page at http://grub.ath.cx/win32serial or skip to the download at
http://grub.ath.cx/win32serial/win32serial-0.1.zip. Hopefully, this will be
useful to somebody. If not, it’s been a very fun learning experience.
Cheers,
Travis Whitton whitton@atlantic.net