FulliGonzales:
If I understand you right, you mean . it like this way, e.g? Right? :const int LATCH = 10; //Latch/Strobe
const int OE = 12; //OE (Output Enable)
const int DOUT = 11; //Data
const int CLK = 9; //Clock
int delayMicrosecondstime=16383;
void setup()
{
pinMode(CLK,OUTPUT);
pinMode(LATCH,OUTPUT);
pinMode(DOUT, OUTPUT);
pinMode(OE, OUTPUT);
}
void loop()
{
digitalWrite(OE,HIGH);
digitalWrite(LATCH,HIGH);
shiftOut(DOUT, CLK, MSBFIRST, B00000000);
shiftOut(DOUT, CLK, MSBFIRST, B00000000);
shiftOut(DOUT, CLK, MSBFIRST, B00000000);
shiftOut(DOUT, CLK, MSBFIRST, B01011011);
shiftOut(DOUT, CLK, MSBFIRST, B00000010);
digitalWrite(LATCH, LOW);
digitalWrite(OE, LOW);
delayMicroseconds(delayMicrosecondstime);
//... //repeat all
//...}
I've tried it during my trials, but it also did not work. I think, my issue has nothing to do with the order, in which I'm writing the Latch and OE Pin high/low. I've tried all imaginable sequences of them.... :~
Output Enable needs to be set low in the "setup" function and never changed anywhere else in your code. Even simpler, just tie it to ground.
FulliGonzales:
I'm sorry, I don't understand your question? Are you aiming at the common anode thing? The MAX7219 can only drive common Cathode 7-Segment displays in a reliable way....
The MAX7219 drives an 8 by 8 matrix. A matrix is what you already have in your diagram. You just connect the matrix you have, to the MAX7219. It really does not care how the matrix looks as long as you connect the cathodes to the cathode drivers and the anodes to the anode drivers. Much simpler than what you have, only one resistor required per matrix.