Skip to content

MaxChinni/ControlDM11A88

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ControlDM11A88 PlatformIO Registry

Simple DM11A88 8x8 led matrix library for ESP8266.

DM11A88

DM11A88 is a 8×8 square led matrix module which is based on a couple of 74hc595.

DM11A88 top view photo

Library

This library can draw whatever you want on the display, but it needs to be constantly refreshed in the loop().

Full example (see writeM example):

#include <ControlDM11A88.h>

// Parameters: DI_PIN, CLK_PIN, LAT_PIN
ControlDM11A88 lc(D7, D8, D5, 1);

uint8_t i;
uint8_t led[] = {
    B10000010, B11000110, B10101010, B10010010,
    B10000010, B10000010, B10000010, B10000010,
};

void setup()
{
}

void loop()
{
    for (i=0; i<8; i++) {
        lc.setRow(0, i, led[i]);
    }
}

The library can help you to draw animations, too, see sprites and counter examples.

sprites animation counter animation

You can daisy chain multiple devices, see multipleDevices example.

multipleDevices example

Tested on

  • Wemos D1 mini

Resources

Donations

bitcoin address qr

Buy Me a Coffee at ko-fi.com

PayPal