https://github.com/reednj/i2c-alpha_display
a command line gem for writing to the RPi alphanumeric I2C displays
https://github.com/reednj/i2c-alpha_display
hardware i2c raspberry-pi rpi
Last synced: 2 months ago
JSON representation
a command line gem for writing to the RPi alphanumeric I2C displays
- Host: GitHub
- URL: https://github.com/reednj/i2c-alpha_display
- Owner: reednj
- License: mit
- Created: 2017-01-05T12:28:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-05T13:08:06.000Z (over 9 years ago)
- Last Synced: 2025-12-16T21:15:00.191Z (7 months ago)
- Topics: hardware, i2c, raspberry-pi, rpi
- Language: Ruby
- Homepage: https://rubygems.org/gems/i2c-alpha_display
- Size: 132 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# I2C::AlphaDisplay
A command line gem to make it easy to send data to I2C 7 and 14-segment displays, like this one: https://www.adafruit.com/product/881
## Installation
$ gem install i2c-alpha_display
## Usage
After installing the gem pipe any output to `i2cdisp` and it will do its best to show it on the display. Numberic input will have suffixes added so as much fits as possible. Eg. `12345` => `12.3k`
$ echo helo | i2cdisp

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).