int Clk = 4;                 
int Latch = 3;              
int Data = 0;   
int Data1 = 1;
int Latch1 =  2;
int Clk1 =  5; 

void setup() {
 pinMode(Latch, OUTPUT);
 pinMode(Clk, OUTPUT);
 pinMode(Data, OUTPUT);
 pinMode(Latch1, OUTPUT);
 pinMode(Clk1, OUTPUT);
 pinMode(Data1, OUTPUT);
}
  byte pattern[8] = {1,2,4,8,16,32,64,128};
  byte pattern1[8] = {254,253,251,247,239,223,191,127};

void loop () {      
  //erste LED               
  digitalWrite(Latch, LOW);
  digitalWrite(Latch1, LOW);
  shiftOut(Data, Clk, MSBFIRST, pattern[3]);
  shiftOut(Data1, Clk1, MSBFIRST, pattern1[3]);
  digitalWrite(Latch, HIGH);
  digitalWrite(Latch1, HIGH);
  delay(3);
  
  //zweite LED


} 
ATTINY8520PU
74HC595
74HC595