Skip to content

alelouis/lpx-text-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lpx-text-display

Small utility binary to display text on the 8x8 LED surface of an Novation Launchpad X.

animated

Font used is public domain 8x8 font

How to use

  1. Clone the repo.
gh repo clone alelouis/lpx-text-display
  1. Run the main binary with your text as first argument. Use "" for special characters.
cargo run your_text

Customize

Main things you could want to change are colors and scrolling speed.

Color

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],
};

Scrolling speed

Modify scrolling speed at line 51 by changing the sleeping time in milliseconds.

let wait = time::Duration::from_millis(100);