void setup() {
// put your setup code here, to run once:
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
krapip(8,2);
krapip(9,1);
}
void krapip(int x,int y) {
for(int i=0;i<y;i++){
digitalWrite(x, HIGH);
delay(500);
digitalWrite(x, LOW);
delay(500);
}
}