void setup() {
for (int x=2 ; x <=5 ; x++){
pinMode(x, OUTPUT);
}
}
void loop(){ // the loop function runs over and over again forever
for (int y=2 ; y <= 5 ; y++){
ledBlink(y, 500);
}
}
void ledBlink(int p, int t){ //p is LED pin number; t is time(ms) for blink
digitalWrite(p, HIGH); // turn the LED on (HIGH is the voltage level)
delay(t); // wait for a second
digitalWrite(p, LOW); // turn the LED off by making the voltage LOW
delay(t);
}