Skip to content

Rust library to control the excellent Pimoroni Blinkt for Raspberry Pi's

License

Notifications You must be signed in to change notification settings

aiecee/blinkt_cdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blinkt_cdev

crates.io MIT licensed Minimum rustc version

blinkt_cdev is a Rust library that allows you to control Pimoroni Blinkt! on the Raspberry Pi. This borrows heavily from the awesome Blinkt by golemparts. The difference is that this uses the Rust Embedded gpio-cdev library.

Documentation

Usage

Add dependency blinkt_cdev to your Cargo.toml

[dependencies]
blinkt_cdev = "0.1.0"
use blinkt_cdev::*;

let mut blinkt = Blinkt::new()?;
blinkt.set_all_pixels(255, 0, 0, 1.0);
blinkt.show()?;

Examples

To run an example use the cargo run --example [name] command.

Current examples:

  • cargo run --example fade

About

Rust library to control the excellent Pimoroni Blinkt for Raspberry Pi's

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages