Tugas Pendahuluan

             Tampilkan angka 7 delay 1 detik lalu angka 8.

2. Gambar Rangkaian Simulasi [Kembali]



3. Flowchart [Kembali]


 

4. Listing Program [Kembali]

 byte pin[] = {2, 3, 4, 5, 6, 7, 8, 9};
void setup() {
  for (int i = 0; i < 9; i++)
  {
    pinMode (pin[i], OUTPUT);
  }
}
void loop() {
  digitalWrite (2, HIGH);
  digitalWrite (3, LOW);
  digitalWrite (4, LOW);
  digitalWrite (5, LOW);
  digitalWrite (6, LOW);
  digitalWrite (7, HIGH);
  digitalWrite (8, HIGH);
  digitalWrite (9, HIGH);
  delay(1000);
  digitalWrite (2, HIGH);
  digitalWrite (3, HIGH);
  digitalWrite (4, HIGH);
  digitalWrite (5, HIGH);
  digitalWrite (6, HIGH);
  digitalWrite (7, HIGH);
  digitalWrite (8, HIGH);
  digitalWrite (9, HIGH);
  delay(1000);
}

5. Video Simulasi [Kembali]


6. Link Download [Kembali]

       1. Video Simulasi
       2. Gambar Rangkaian
       3. File Rangkaian Proteus 
       4. Listing Program

 

Tidak ada komentar:

Posting Komentar