// Nama = Hartanto Dwi Cahyadi
// NIM = 2023310026P
int timer = 700;
int pins[] = { 2, 3, 4, 5, 6, 7 };
int num_pins = 6;
void setup() {
// put your setup code here, to run once:
int i;
for (i = 0; i < num_pins; i++)
pinMode(pins[i], OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int i;
for (i = 0; i < num_pins; i++) {
digitalWrite(pins[i], HIGH);
delay(timer);
digitalWrite(pins[i], LOW);
}
}