dabch / rust-rpi-rgb-led-bindings

Updated Rust bindings for hzeller's rpi-rgb-led-matrix library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-rpi-led

Updated Rust bindings for hzeller's rpi-rgb-led-matrix library. Included helper functions for displaying images loaded via image-rs image processing library. Apart from these, the interface is largely a direct Rust-ization of hzeller's C interface.

This library provides safe wrappers in the shape of LedMatrix, LedCanvas and LedOptions structs around the unsafe bindings generated by rust-bindgen. Except for led_matrix_print_flags, equivalents to all C methods are offered.

Heavily inspired by Helvethor's Rust bindings, which unfortunately were very out of date. This is why I created new ones, yay 🎉.

Docs

rustdoc is following soon.

About

Updated Rust bindings for hzeller's rpi-rgb-led-matrix library

License:GNU General Public License v3.0


Languages

Language:Rust 99.9%Language:C 0.1%