Get support for dbu/arduino-LedMatrix

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

dbu/arduino-LedMatrix

This little Arduino library adds syntactic sugar around the fastspi library with two dimensional layouts of LEDs.

Description

The LedMatrix class wraps around the FastSPI_LED instance, taking care of initializing FastSPI_LED with the right number of pixels.

It handles two dimensional layouts of leds. To keep wiring short, you might want to wire your LED strips in S lines, meaning every second strip is ordered inversly. The names assume your matrix consists of vertical strips. With the origin at top-left, the strip number is your x coordinate and the relative position in the y coordinate.

Install

To install, put the FastSPI_LED library into the library folder of your arduino sketchbook. Then add this repository to your sketchbook. Either use

git clone git://github.com/dbu/arduino-LedMatrix.git

Or just download the zip file.

Now restart your Arduino library and click Sketch > Import library... and import both FastSPI_LED and LedMatrix. The first lines in your sketch should now be

#include <FastSPI_LED.h>
#include <LedMatrix.h>

Usage

Instead of FastSPI_LED.setLeds(), call LedMatrix.init(LENGTH, STRIPS, slalom) then go through the normal bootstrap of FastSPI_LED.

See LedMatrix.h for doc about the functions you have available.

To see some sample code, have a look at the led-globe project.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2