Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/snakeye/ledmatrixdisplay
- Owner: snakeye
- License: mit
- Created: 2018-05-24T08:18:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:40:28.000Z (11 months ago)
- Last Synced: 2024-10-16T22:43:04.633Z (21 days ago)
- Topics: esp8266, esp8266-arduino, led, max7219
- Language: C++
- Size: 185 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
}```