Project

serialport

0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
Ruby/SerialPort is a Ruby library that provides a class for using RS-232 serial ports.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
 Project Readme

Ruby/SerialPort

CI

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.

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