Question about dot matrix

Hi, you have put your sketch inside quotation markers instead of code markers. Please edit your post and fix that. Use the "#" button not the speech bubble button.

I think your code would become:

void drawImage(byte * matrix) {
  for(int i=0; i<8; i++) {

    shiftOut(clockPin, dataPin, LSBFIRST, matrix);
    shiftOut(clockPin, dataPin, MSBFIRST, ~(1<<i));

    digitalWrite(latchPin,LOW);
    digitalWrite(latchPin,HIGH);

  }
}

Another option would be to use the SPI library, since you already seem to be using the appropriate pins for that.

Paul