int a = 6;
int b = 7;
int c = 8;
int d = 9;
int e = 10;
int f = 11;
int g = 12;
int bekleme=200;
void setup()
{
  pinMode (g, OUTPUT);
  pinMode (f, OUTPUT);
  pinMode (d, OUTPUT);
  pinMode (e, OUTPUT);
  pinMode (c, OUTPUT);
  pinMode (a, OUTPUT);
  pinMode (b, OUTPUT);
}
void loop ()
{
  sifiryaz();
  delay (bekleme);
  biryaz();
  delay (bekleme);
  ikiyaz();
  delay (bekleme);
  ucyaz();
  delay (bekleme);
  dortyaz();
  delay (bekleme);
  besyaz();
  delay (bekleme);
  altiyaz();
  delay (bekleme);
  yediyaz();
  delay (bekleme);
  sekizyaz();
  delay (bekleme);
  dokuzyaz();
  delay (bekleme);
}
void sifiryaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, HIGH);
  digitalWrite (f, HIGH);
  digitalWrite (g, LOW);

}
void biryaz ()
{
  digitalWrite (a, LOW);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, LOW);
  digitalWrite (e, LOW);
  digitalWrite (f, LOW);
  digitalWrite (g, LOW);

}
void ikiyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, LOW);
  digitalWrite (d, HIGH);
  digitalWrite (e, HIGH);
  digitalWrite (f, LOW);
  digitalWrite (g, HIGH);

}
void ucyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, LOW);
  digitalWrite (f, LOW);
  digitalWrite (g, HIGH);

}
void dortyaz ()
{
  digitalWrite (a, LOW);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, LOW);
  digitalWrite (e, LOW);
  digitalWrite (f, HIGH);
  digitalWrite (g, HIGH);

}
void besyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, LOW);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, LOW);
  digitalWrite (f, HIGH);
  digitalWrite (g, HIGH);

}
void altiyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, LOW);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, HIGH);
  digitalWrite (f, HIGH);
  digitalWrite (g, HIGH);
}

void yediyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, LOW);
  digitalWrite (e, LOW);
  digitalWrite (f, LOW);
  digitalWrite (g, LOW);
}

void sekizyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, HIGH);
  digitalWrite (f, HIGH);
  digitalWrite (g, HIGH);

}
void dokuzyaz ()
{
  digitalWrite (a, HIGH);
  digitalWrite (b, HIGH);
  digitalWrite (c, HIGH);
  digitalWrite (d, HIGH);
  digitalWrite (e, LOW);
  digitalWrite (f, HIGH);
  digitalWrite (g, HIGH);

}
