Hey Paul,
thank you again for your answer and your help! ![]()
Paul__B:
they hold the current data until you have shifted in all the next set at which point the switch from the last pattern to the next is immediate with no break.
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 durig my trials, but it also did not work.
I think, my issue has nothig to do with the order, in which im writing the Latch and OE Pin high/low. I've tried all imaginable sequences of them.... :~
Paul__B:
So what has that to do with anything?
I'm sorry, I don't understand your question? Are you aiming at the common anode thing? The MAX7219 can only drive common Kathode 7-Segment displays in a relieable way....