ledcat-0.2.0 is not a library.
ledcat
Ledcat is simple utility that aims to provide a standard interface for driving LED-strips and such.
Simply create a program that outputs 3 bytes of RGB for each pixel in your strip.
Documentation
Install
The easiest way to install Ledcat is to download a binary from Github.
Note: Hzeller's LED Matrix driver is not available from CI builds.
Installing from Cargo
Install the Rust Language if you have not already.
Then, you can install ledcat directly using Cargo.
Building Manually
Alternatively, you can build and install Ledcat manually:
Usage Examples
# Make a strip of 30 apa102 leds all red.
|
# Receive frames over UDP.
|
# Load an image named "image.png", resize it to fit the size of the display and
# send it to a ledstrip zigzagged over the Y-axis.
| \
# A clock on a zigzagged two dimensional display of 75x8 pixels
while ; do
;
done | ;
# Show random noise as ambient lighting or priority messages if there are any.
&
&
Supported Drivers:
- Linux spidev
- Serial
- Artnet DMX
Supported Device Types:
- show (emulates a LED bar in the terminal)
- apa102
- HexWS2811
- lpd8806
- hub75
- sk9822
- ws2812
- LED Matrices on Raspberry Pi's (ARM+Linux only)