// Turning LEDs ON and OFF using direct register access.
// Created by kidkara
void setup(){
DDRD=B11111100;
DDRB=B00000011;
}
void loop()
{ // Set the output pins HIGH/LOW
PORTD = B01100000;
PORTB = B00000000;
delay(200);
PORTD = B10010000;
delay(200);
PORTD = B00001000;
PORTB = B00000001;
delay(200);
PORTD = B00000100;
PORTB = B00000010;
delay(200);
PORTD = B00001000;
PORTB = B00000001;
delay(200);
PORTD = B10010000;
delay(200);
PORTD = B01010000;
}