Code Monkey home page Code Monkey logo

idotmatrix's Introduction

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"

idotmatrix's People

Contributors

cjdell avatar kezii avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cjdell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.