8 releases

Uses old Rust 2015

0.3.2 Sep 28, 2017
0.3.1 Sep 28, 2017
0.2.3 Sep 26, 2017
0.2.2 May 10, 2017
0.1.0 Apr 20, 2017

#1706 in Hardware support

41 downloads per month

MIT license

24KB
625 lines

Scroll pHAT HD Rust library

Version Build Status

Documentation

This is an unofficial library to control the Scroll pHAT HD using Rust.

Prerequisites

rustup target add arm-unknown-linux-gnueabi

apt-get install gcc-arm-linux-gnueabi

Run

To run the included examples:

  • cargo run --example alphabet
  • cargo run --example counter

lib.rs:

Scroll pHAT HD

Sample usage:

let mut display = scroll_phat_hd::display::TermDisplay::new();
let mut scroller = scroll_phat_hd::scroller::Scroller::new(&mut display);
scroller.set_text("ABC");
scroller.show();

Dependencies

~0.1–1.3MB
~18K SLoC