// Zylonenauge V1.1 (c) Oliver Mezger 25.06.2017

#include <avr/io.h>
#include <util/delay.h>

unsigned char ledausgabe[]={0xe1,0xe2,0xe4,0xe8,0xd1,0xd2,0xd4,0xd8,0xb1,0xb2,0xb4,0xb8,0x71,0x72,0x74,0x78};
int main(){
  DDRB=0xff;      // PORTB auf Ausgang
  char musterz=0; // Position 0
  while(1){
    for(musterz=0;musterz<sizeof(ledausgabe);musterz++){
      PORTB=ledausgabe[musterz];
      _delay_ms(30);
      PORTB=0;
    }
    for(musterz=sizeof(ledausgabe)-2;musterz>0;musterz--){
      PORTB=ledausgabe[musterz];
      _delay_ms(30);
      PORTB=0;
    }
  }
}
