#define pinky 5 //merah
#define pinky_2 4 //kuning
#define pinky_3 2 // hijau
void setup() {
pinMode(pinky, OUTPUT);
pinMode(pinky_2, OUTPUT);
pinMode(pinky_3, OUTPUT);
}
void loop() {
digitalWrite(pinky, HIGH);// led nyala
delay(1000);
digitalWrite(pinky, LOW);// led mati
delay(1000);
digitalWrite(pinky_2, HIGH);// led nyala
delay(1000);
digitalWrite(pinky_2, LOW);// led mati
delay(1000);
digitalWrite(pinky_3, HIGH);// led nyala
delay(1000);
digitalWrite(pinky_3, LOW);// led mati
delay(1000);
}