TP MODUL 1

TP Modul 1





1. Kondisi [kembali]

Kondisi awal LED mati lalu hidup bergantian dari 2 dari tengah secara berulang

2. Hardware 
[kembali]



  


4. Listing Program [kembali]

const byte led 4;
const byte led 5;
const byte led 6;
const byte led 7;
const byte led 8;
const byte led 9;
const byte led 10;
const byte led 11;
void setup () {
  pinMode (4,OUTPUT);
  pinMode (5, OUTPUT);
  pinMode (6, OUTPUT);
  pinMode (7, OUTPUT);
  pinMode (8, OUTPUT);
  pinMode (9, OUTPUT);
  pinMode (10, OUTPUT);
  pinMode (11, OUTPUT);

}

void loop() {
  digitalWrite (4,0);
  digitalWrite (5,0);
  digitalWrite(6,0);
  digitalWrite(7,1);
  digitalWrite(8,1);
  digitalWrite(9,0);
  digitalWrite(10,0);
  digitalWrite(11,0);
  delay(1000);

  digitalWrite (4,0);
  digitalWrite (5,0);
  digitalWrite(6,1);
  digitalWrite(7,0);
  digitalWrite(8,0);
  digitalWrite(9,1);
  digitalWrite(10,0);
  digitalWrite(11,0);
  delay(1000);

  digitalWrite (4,0);
  digitalWrite (5,1);
  digitalWrite(6,0);
  digitalWrite(7,0);
  digitalWrite(8,0);
  digitalWrite(9,0);
  digitalWrite(10,1);
  digitalWrite(11,0);
  delay(1000);

  digitalWrite (4,1);
  digitalWrite (5,0);
  digitalWrite(6,0);
  digitalWrite(7,0);
  digitalWrite(8,0);
  digitalWrite(9,0);
  digitalWrite(10,0);
  digitalWrite(11,1);
  delay(1000);
}

5. Video Simulasi 
[kembali]

                                  






6. Flowchart [kembali]
7. Link Download [kembali]

Download Rangkaian  
di sini
Download Video disini
Download listing program disini
Download HTML disini

Tidak ada komentar:

Posting Komentar

Featured Post

Oleh: Lifia Permata Suri 1710951027 Dosen Pengampu: Darwison,M.T. Referensi : a. Boyles...

Popular Posts