1 unstable release

Uses old Rust 2015

0.1.0 Apr 19, 2017

#1402 in Hardware support

MIT license

17KB
199 lines

Adafruit 2.7" Monochrome 128x64 OLED Driver

Build Status Coverage Status

This is a platform-agnostic driver for the Solomon Systech SSD1325 OLED display driver IC in monochrome mode. This chip is used in the Adafruit 2.7" Monochrome 128x64 OLED Display Module. This library is transport-agnostic, in that it has no intrinsic dependencies. Supply an io::Write compatible object for transferring data, such as from rust-spidev. Then, implement a ssd1325::ControlChannel using, for instance, rust-sysfs-gpio for controlling side-band pins (D/NC and nRST). Finally, wire up your display and you should be all set.

Compatibility

Tested with the aforementioned module only. This should work with any SSD1325 display, however the initialization sequence may not be sufficient. Please submit an issue if you run into issues and I'll attempt to make the interface more generic to support your use case.

Usage

Add the following to your Cargo.toml:

[dependencies]
ssd1325 = "0.1"

In addition, and this to your crate root:

extern crate ssd1325;

License

Released under the MIT license. See LICENSE for full details.

No runtime deps