void setup() {
// put your setup code here, to run once:
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
}
void loop() {
// dół
digitalWrite( 4, LOW);
delay(130);
digitalWrite( 5, LOW);
delay(130);
digitalWrite( 6, LOW);
delay(130);
digitalWrite( 7, LOW);
delay(130);
delay(2000);
digitalWrite( 4, HIGH);
delay(130);
digitalWrite( 5, HIGH);
delay(130);
digitalWrite( 6, HIGH);
delay(130);
digitalWrite( 7, HIGH);
delay(2000);
// góra
}