// #include <ctime>
void setup() {
// put your setup code here, to run once:
// DDRD |= (1<<DDD2);
// DDRD |= 0xfc;
// srand((unsigned int)time(NULL));
}
void loop() {
// put your main code here, to run repeatedly:
// PORTD ^= (1<<PIND2);
// PORTD ^= (1<<PIND6);
// _delay_ms(1000);
// PORTD &= ~(1<<PIND2);
// _delay_ms(1000);
for(int i = 2;i<8;i++){
int num = rand()%8;
PORTD ^= (0x01<<num);
delay(200);
}
}