docs.rs failed to build pi-led-matrix-0.5.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
pi-led-matrix-0.5.3
rpi-led-matrix
Safe rust bindings on top of the C++ library rpi-rgb-led-matrix.
Usage
The examples have more detailed usage, but here is basic usage to get things rendering on your display.
use ;
let matrix = new.unwrap;
let mut canvas = matrix.offscreen_canvas;
for red in 0..255
Note that if you have wirings other than the libraries "default", you will need to construct arguments to the library to specify the layout. See LedMatrixOptions for more information.