MovingsignApi
MovingSign Communication Protocol V2.1 Implementation in Ruby to control compatible LED signs.
Installation
Add this line to your application's Gemfile:
gem 'movingsign_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install movingsign_api
Usage
Using the MovingsignApi is straight forward.
require 'movingsign_api'
sign = MovingsignApi::Sign.new '/dev/ttyUSB0'
sign.show_text "Hello World"
There are other commands and quite a few options. See MovingsignApi::Sign or MovingsignApi::Command and it's subclasses.
Versions
A complete version history is in CHANGELOG.md.
Todo
Not all of the Movingsign protocol is implemented. Some of missing functionality include:
- Text formatting isn't supported
- Graphics commands aren't supported
- Some write control commands are not implemented:
- Set/Change password
- Set/Change device address
- Changing the text file display mode
- Read control commands
- Read clock
- Read equipment attributes
Contributing
Make a pull request and be sure to include test cases!
Other Projects
- multi_movingsign - to drive multiple Movingsigns at the same time for an information display board