Skip to content

Kezii/idotmatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idotmatrix

photo

Rust implementation of a driver for an iDotMatrix bluetooth display

based on https://github.com/derkalle4/python3-idotmatrix-client

the driver is in lib.rs, an example with a command line interface is provided and ready for use

Usage

> cargo run -q --example cli -- --help
Usage: cli [OPTIONS]

Options:
      --screen-on                              
      --screen-off                             
      --set-pixel <SET_PIXEL>                  Pixel in format x,y,#ffffff
      --image-mode <IMAGE_MODE>                
      --upload-png <UPLOAD_PNG>                Path to png file
      --upload-gif <UPLOAD_GIF>                Path to gif file
      --full-screen-color <FULL_SCREEN_COLOR>  Color in hex format, e.g. #ffffff
      --screen-brightness <SCREEN_BRIGHTNESS>  Brightness in percent, e.g. 100
      --countdown-start <COUNTDOWN_START>      Countdown in seconds
      --countdown-cancel                       
      --countdown-pause                        
      --countdown-resume                       
      --color-hue                              Continuously change color demo
  -h, --help                                   Print help
  -V, --version                                Print version

Example

cargo run --example cli -- --upload-png demo_32.png
cargo run --example cli -- --full-screen-color "#00ff00"
cargo run --example cli -- --set-pixel "2,2,#00ff00"

About

idotmatrix display driver written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages