unsigned int i;
void setup() {
  DDRC= 0xFF;
}

void loop() {
  PINC= 0x1A;
  for(i==0; i<3; i++)
  {
    if(i%2==0)
    PORTC |= (1<<7-i);
    else
    PORTC &= ~(1<<7-i);
  }
}
$abcdeabcde151015202530fghijfghij