Crates.io | ssd1325 |
lib.rs | ssd1325 |
version | 0.1.0 |
source | src |
created_at | 2017-04-19 04:53:19.869579 |
updated_at | 2017-04-19 04:53:19.869579 |
description | Adafruit 2.7in Monochrome 128x64 OLED Driver |
homepage | https://github.com/martinmroz/ssd1325.git |
repository | https://github.com/martinmroz/ssd1325.git |
max_upload_size | |
id | 11148 |
size | 28,800 |
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.
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.
Add the following to your Cargo.toml
:
[dependencies]
ssd1325 = "0.1"
In addition, and this to your crate root:
extern crate ssd1325;
Released under the MIT license. See LICENSE
for full details.