podswietlane stopnie schody

admin
Site Admin
Posty: 20
Rejestracja: sob lut 07, 2015 4:03 pm

podswietlane stopnie schody

Postautor: admin » ndz gru 15, 2019 7:37 pm

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




}