Skip to content

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports

License

Notifications You must be signed in to change notification settings

ScoreVision/ruby-serialport

 
 

Repository files navigation

Ruby/SerialPort

Build Status

Description

Ruby/SerialPort is a Ruby library that provides a class for using RS-232 serial ports. This class also contains low-level functions to check and set the current state of the signals on the line.

The native Windows version of this library supports the Microsoft Visual C++, Borland C++, and MinGW compilers.

There is an alternative gem with MRI, JRuby, and Rubinius support. See below.

Installation

Install the gem as normal: sudo gem install serialport

Testing

Use Ruby's version of miniterm: ruby test/miniterm.rb

API

See http://rubydoc.info/gems/serialport/SerialPort or run yard

Issues

See https://github.com/hparra/ruby-serialport/issues

Alternatives

The Hybrid Group's MRI, JRuby, & Rubinius compatible rubyserial gem may provide improved compatibilty in modern environments.

License

GPL

Authors

About

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.6%
  • Ruby 8.4%