void setup() {
  // put your setup code here, to run once:
  //DDRB = B00001111;

DDRB = 15;
DDRD = B11111110;
PORTB = 15;
PORTD = 0;

}

void loop() {
  // put your main code here, to run repeatedly:
PORTD = B00001110;
PORTB = B00001100;
delay(500);
PORTB = B00001101;
PORTD = B10110110;
delay(500);
PORTB = B00001111;
delay(500);
}