bunting
Pure Rust WS2812 colour utilities — no hardware dependencies, fully no_std.
Encodes RGB pixel data into the bit and byte forms WS2812 hardware expects:
GRB packing, MSB-first bit extraction, SPI-prerendered byte buffers, and a
grid module for addressing rectangular LED matrices. All hardware-
independent, all unit-testable on any host.
Part of the rustyfarian-ws2812
workspace alongside ferriswheel
(ring effects) and pennant (status-LED adapters).
Example
use rgb_to_grb;
use RGB8;
let red = RGB8new;
assert_eq!; // Green=0, Red=255, Blue=0
Documentation
Full API docs at docs.rs/bunting.
License
Dual-licensed under MIT or Apache-2.0.
Changelog
See the workspace CHANGELOG for release notes across all crates.