void setup() {
// put your setup code here, to run once:
DDRD = B11111111;
}
void loop() {
// put your main code here, to run repeatedly:
byte bits = B00000001;
for (int cyklus = 0; cyklus <= 8; cyklus++)
{
PORTD = bits;
delay(150);
bits = bits << 1;
}
}