Tugas Pendahuluan Modul 1 General Input dan Output

[Kembali Ke Menu Sebelumnya]



1.Kondisi [Kembali]

Menampilkan huruf L dan A pada seven segmen secara bergantian
    2. Rangkaian Simulasi  [Kembali]

    3. Flowchart  [Kembali]


    4. Listing Program  [Kembali]

    int A = 4;
    int B = 5;
    int C = 6;
    int D = 7;
    int E = 8;
    int F = 9;
    int G = 10;
    int dot = 11;

    void setup() {
    pinMode(A, OUTPUT);
    pinMode(B, OUTPUT);
    pinMode(C, OUTPUT);
    pinMode(D, OUTPUT);
    pinMode(E, OUTPUT);
    pinMode(F, OUTPUT);
    pinMode(G, OUTPUT);
    pinMode(dot, OUTPUT); //dot
    }

    void loop() {

    digitalWrite(A, LOW);
    digitalWrite(B, LOW);
    digitalWrite(C, LOW); 
    digitalWrite(D, HIGH);
    digitalWrite(E, HIGH);
    digitalWrite(F, HIGH);
    digitalWrite(G, LOW);
    digitalWrite(dot, LOW);
    delay(1000);

    digitalWrite(A, HIGH);
    digitalWrite(B, HIGH);
    digitalWrite(C, HIGH); 
    digitalWrite(D, LOW);
    digitalWrite(E, HIGH);
    digitalWrite(F, HIGH);
    digitalWrite(G, HIGH);
    digitalWrite(dot, LOW);
    delay(1000);
    }


    5. Video [Kembali]

    6. Link Download [Kembali]


    1. Download Rangkaian
    2. Download Video Rangkaian
    3. Download HTML

    Tidak ada komentar:

    Posting Komentar

    Pratikum Elektronika dan Sistem Digital

    Pratikum Elektronika dan Sistem Digital  C OLEH: Rindra Sabrinanda Arfi 1710953038 Dosen Pengampu: Dr.Eng.Muhamma...

    Popular Posts