- Rust 1.68+
- Raspberry Pi
- RBG LED Matrix (e.g adafruit 16x32 panel)
- adafruit Matrix HAT
A Websocket and Rust implementation of a real-time 64x32 whiteboard that is used to represent a RGB matrix board powered by a Raspberry Pi.
Make sure to have Rust 1.68 or greater installed. For instructions on installing Rust, visit https://www.rust-lang.org/.
- Clone the repo.
git clone git@github.com:brokentari/mimikyu.git"
- Build the project with appropriate target.
cargo build (optional: --release)
- Run the built target.
cargo run
- From a seperate client, open a browser and visit
localhost:7032
.
This program can only be compiled for and ran by a Raspberry PI due to the requirements of the rpi-led-matrix
crate, which contains Rust bindings for a C++ library rpi-rgb-led-matrix
"to control RGB LED panels with the Raspberry Pi."
The computer will listen in for any events (draw, erase, clear, etc.) from multiple clients, which the computer running this server will appropriately relay to the LED panel to display the same pixels as in the web client.