Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snakeye/ledmatrixdisplay

MAX7219/MAX7221 library for ESP8266 and Arduino platform
https://github.com/snakeye/ledmatrixdisplay

esp8266 esp8266-arduino led max7219

Last synced: 19 days ago
JSON representation

MAX7219/MAX7221 library for ESP8266 and Arduino platform

Awesome Lists containing this project

README

        

# ESP8266 MAX7219 Arduino

MAX7219/MAX7221 library for ESP8266 and Arduino platform

Based on https://github.com/squix78/MAX7219LedMatrix

## Example code

```cpp
#include

#include

using namespace LedMatrixDisplay;

// matrix type definition
typedef Matrix<8, 8> TMatrix;

// matrix array definition
typedef MatrixArray TMatrixArray;

// canvas definition
typedef Canvas TCanvas;

// display definition
typedef DisplayColumnCathode TDisplay;

TDisplay display;

void setup()
{
display.init();
display.setIntensity(2);
display.clear();
display.commit();
}

void loop()
{
static int i = 0;

display.clear();
display.setPixel(i, 0);
display.commit();

i = (i + 1) % 40;

delay(100);
}

```