Coffe Mixer.Perzieresi kafes per pertace.

One Comment

  1. bio Mechatronics said:

    int d2 =2;
    int d3 =3;
    int d4 =4;
    int d5 =5;
    int t1=300;
    int t2=5;
    int t3=4;
    void setup() {

    pinMode(d2, OUTPUT);
    pinMode(d3, OUTPUT);
    pinMode(d4, OUTPUT);
    pinMode(d5, OUTPUT);
    digitalWrite(d2, LOW);
    digitalWrite(d3, LOW);
    digitalWrite(d4, LOW);
    digitalWrite(d5, LOW); }

    void loop() {
    for (int x = 0; x< 7; x++)
    {
    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t1);

    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t1);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t1);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t1);
    }

    for (int x = 0; x< 7; x++)
    {
    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t1);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t1);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t1);

    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t1);
    }

    for (int x = 0; x< 100; x++)
    {
    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t2);

    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t2);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t2);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t2);
    }

    for (int x = 0; x< 200; x++)
    {
    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t3);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d4, LOW);
    digitalWrite(d5, HIGH);
    delay(t3);

    digitalWrite(d3, LOW);
    digitalWrite(d2, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t3);

    digitalWrite(d2, LOW);
    digitalWrite(d3, HIGH);
    digitalWrite(d5, LOW);
    digitalWrite(d4, HIGH);
    delay(t3);
    }

    }

    June 30, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *