Sha256: 9cbe12af62376e684374d6bf3da4d80e51bbccb134c70479f6c87825d620f6a2

Contents?: true

Size: 590 Bytes

Versions: 1

Compression:

Stored size: 590 Bytes

Contents

# SainSmart 1602 I2C driver

This is a Ruby driver for the SainSmart 1602 LCD display with I2C adapter. The code was partially ported from [raspi-gpio](https://github.com/paulbarber/raspi-gpio/blob/master/lcd_display.py).

## Installation

Add this line to your application's Gemfile:

```
gem 'i2c-ss1602'
```

And then execute:

```
$ bundle
```

Or install it yourself as:

```
$ gem install i2c-ss1602
```

## Usage

```ruby
require 'i2c/drivers/ss1602'
display = I2C::Drivers::SS1602::Display.new('/dev/i2c-1', 0x27)
display.clear
display.text('Hello', 0)
display.text('World', 1)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i2c-ss1602-0.0.2 README.markdown