Small utility binary to display text on the 8x8 LED surface of an Novation Launchpad X.
Font used is public domain 8x8 font
- Clone the repo.
gh repo clone alelouis/lpx-text-display
- Run the main binary with your text as first argument. Use "" for special characters.
cargo run your_text
Main things you could want to change are colors and scrolling speed.
Modify background and foreground on respectively line 56
and 57
.
let color = match matrix[frame+x][y] {
true => vec![0u8, 0u8, 0u8],
false => vec![127u8, 0u8, 0u8],
};
Modify scrolling speed at line 51
by changing the sleeping time in milliseconds.
let wait = time::Duration::from_millis(100);