Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.3 kB
1
Indexable
Never
void showCitys() {
  pinMode (13,OUTPUT); // 13 nolu dijital pini çıkıs olarak ayarla
  pinMode(12,OUTPUT); // 12 nolu dijital pini çıkıs olarak ayarla
  pinMode(11,OUTPUT); // 11 nolu dijital pini çıkıs olarak ayarla
  pinMode(10,OUTPUT); // 10 nolu dijital pini çıkıs olarak ayarla
  pinMode(9,OUTPUT); // 9 nolu dijital pini çıkıs olarak ayarla
}

void loop() {
  


  digitalWrite(13, HIGH);
  digitalWrite(12, HIGH);
  delay(1000);
    digitalWrite(13, LOW);
  digitalWrite(12, LOW);
  delay(1000);
  digitalWrite(12, HIGH);
  digitalWrite(11, HIGH);
  delay(1000);
  digitalWrite(12, LOW);
  digitalWrite(11, LOW);
  delay(1000);
  digitalWrite(11, HIGH);
  digitalWrite(10, HIGH);
  delay(1000);
  digitalWrite(11, LOW);
  digitalWrite(10, LOW);
  delay(1000);
  digitalWrite(9, HIGH);
  digitalWrite(10, HIGH);
  delay(1000);
  digitalWrite(9, LOW);
  digitalWrite(10, LOW);
  delay(1000);
  digitalWrite(10, HIGH);
  digitalWrite(11, HIGH);
  delay(1000);
  digitalWrite(10, LOW);
  digitalWrite(11, LOW);
  delay(1000);
  digitalWrite(11, HIGH);
  digitalWrite(12, HIGH);
  delay(1000);
  digitalWrite(11, LOW);
  digitalWrite(12, LOW);
  delay(1000);
  digitalWrite(12, HIGH);
  digitalWrite(13, HIGH);
  delay(1000);
  loop;
  
  

 


  

   
}