Tugas Pendahuluan Modul 1




1. Kondisi[Kembali]
Tampilkan angka 0,9,2,6 secara bergantian.

2. Rangkaian Simulasi[Kembali]




3. Flowchart[Kembali]

4. Listing Program[Kembali]

byte pin[]={6,7,8,9,10,11,12};
void setup() {
  // put your setup code here, to run once:
for(int i=0;i<10;i++)
{
  pinMode(pin[i],OUTPUT);
}
}
void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(6,LOW);
  digitalWrite(7,HIGH);
  digitalWrite(8,HIGH);
  digitalWrite(9,HIGH);
  digitalWrite(10,HIGH);
  digitalWrite(11,HIGH);
  digitalWrite(12,HIGH);
  delay(1000);
  digitalWrite(6,HIGH);
  digitalWrite(7,HIGH);
  digitalWrite(8,LOW);
  digitalWrite(9,HIGH);
  digitalWrite(10,HIGH);
  digitalWrite(11,HIGH);
  digitalWrite(12,HIGH);
  delay(1000);
  digitalWrite(6,HIGH);
  digitalWrite(7,LOW);
  digitalWrite(8,HIGH);
  digitalWrite(9,HIGH);
  digitalWrite(10,LOW);
  digitalWrite(11,HIGH);
  digitalWrite(12,HIGH);
  delay(1000);
  digitalWrite(6,HIGH);
  digitalWrite(7,HIGH);
  digitalWrite(8,HIGH);
  digitalWrite(9,HIGH);
  digitalWrite(10,HIGH);
  digitalWrite(11,LOW);
  digitalWrite(12,HIGH);
  delay(1000);
}
  

5. Video[Kembali]



6. Link Download[Kembali]

Download rangkaian proteus Disini
Download Video Rangkaian Disini

Download program arduino Disini

Komentar

Postingan populer dari blog ini

PRAKTIKUM ELEKTRONIKA & SISTEM DIGITAL

KULIAH MIKROPROSESOR DAN MIKROKONTROLER 2018