LED matrix not working...

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
CrazyPharaoh
 
Posts: 2
Joined: Sat Sep 23, 2017 4:46 pm

LED matrix not working...

Post by CrazyPharaoh »

Hi, i have the 8x8 1.2" LED matrix. its a great piece of kit but i have one issue, when i light up all the LEDs, the matrix flickers and is dimmed, as if it doesnt have enough power. But if i light 54 of the 64 LEDs, the same thing happens for about 5 seconds then it lights up normally with normal brightness.

I have no idea why its not working, here is the code just incase...(and yes, its an adaptation of the example)

Code: Select all

#include <Wire.h>
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"

Adafruit_8x8matrix matrix = Adafruit_8x8matrix();

void setup() {
  Serial.begin(9600);
  Serial.println("8x8 LED Matrix Test");
  
  matrix.begin(0x70);  // pass in the address
}

static const uint8_t PROGMEM
  full_bmp[] =
  { B11111111,
    B11111111,
    B11100011,
    B11100011,
    B11111110,
    B11111111,
    B11111111,
    B11111000},
  neutral_bmp[] =
  { B00111100,
    B01000010,
    B10100101,
    B10000001,
    B10111101,
    B10000001,
    B01000010,
    B00111100 },
  frown_bmp[] =
  { B00111100,
    B01000010,
    B10100101,
    B10000001,
    B10011001,
    B10100101,
    B01000010,
    B00111100 };
 
 

void loop() {
  matrix.clear();
  matrix.drawBitmap(0, 0, full_bmp, 8, 8, LED_ON);
  matrix.writeDisplay();
  } 
Last edited by Franklin97355 on Sun Sep 24, 2017 3:27 pm, edited 1 time in total.
Reason: Please use code tags when posting code or logs to the forums. It preserves formatting and makes it easier for everyone to read the code. Click the code button above the reply box and past your code between the tags created.

User avatar
CrazyPharaoh
 
Posts: 2
Joined: Sat Sep 23, 2017 4:46 pm

Re: LED matrix not working...

Post by CrazyPharaoh »

I have a quick update... if i connect the DAT pin to the CLK pin, the matrix works properly! But, i still need to know if that's dangerous or not good for the backpack in any way (and it would be great to get it to work normally).

So if someone could fill me in, that would be great! Thanks in advance!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”