I'm using an ElEGOO UNO R3 board and trying to control a single Max 7219 chip. I was having the all-lit issue with a 4 digit seven-segment display but it would try and visibly flash. when the Rset resister is removed it would run but display nothing legible, The segments would turn on and off but some just dimmed and flickered.
I set up 8 LEDs in common anode on Dig 0 and ran each cathode to segments A - G and Dp. the same issue. All lit unless I remove the Rset resistor, and I am getting revers lit segments when the resister is removed. so 0 is turning off Seg A-F and turning on Seg G.
when I have it try and cycle threw numbers I still get some flickering of Segments that are supposed to be off like the Dp and it still won't do anything unless RSet is removed.
here is my code using LEDControl Library
#include <LedControl.h>
LedControl lc=LedControl (7, 6, 5, 1);
unsigned long delaytime = 250 ;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("wake");
lc.shutdown(0, false);
Serial.println("set intensity");
lc.setIntensity(0,7);
Serial.println("clear");
lc.clearDisplay(0);
Serial.println("verify complete");
}
void scrollingDigits() {
Serial.println("pre For");
for(int i=0;i<13;i++){
lc.setDigit(0,3,i,false);
lc.setDigit(0,2,i+1,false);
lc.setDigit(0,1,i+2,false);
lc.setDigit(0,0,i+3,false);
delay(delaytime);
}
Serial.println("Post for");
lc.clearDisplay(0);
delay(delaytime);
}
void loop() {
// put your main code here, to run repeatedly:
for(int i=0;i<13;i++){
lc.setDigit(0,0,i,false);
delay(350);
}
}
I'm following the electrical schematics from The LEDControl website linked in the library and the Max7219 Datasheet
any help would be appreciated.