Tugas Pendahuluan Modul 2





1. Kondisi[Kembali]
Tampilkan angka 7,8 secara bergantian.

2. Rangkaian Simulasi[Kembali]


3. Flowchart[Kembali]

4. Listing Program[Kembali]

byte pin[] = {2,3,4,5,6,8,9};
void setup() {
  // put your setup code here, to run once:
for (int i=0; i<9; i++)
{
  pinMode(pin[i],OUTPUT);
}
}

void loop() {
  // put your main code here, to run repeatedly:
{
  digitalWrite(2,LOW);
  digitalWrite(3,LOW);
  digitalWrite(4,LOW);
  digitalWrite(5,LOW);
  digitalWrite(6,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(8,HIGH);
  digitalWrite(9,HIGH);
  delay(1000);
}

}

5. Video[Kembali]
 
6. Link Download[Kembali]

Download File Rangkaian Proteus Disini
Download Video Rangkaian Disini

Tidak ada komentar:

Posting Komentar