Percobaan 2 Kondisi 14
Tampilkan angka 4,7,5 secara bergantian.
2. Gambar Rangkaian Simulasi
[Kembali]
Percobaan 2 Kondisi 14
3. 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);
}
// put your setup code here, to run once:
}
void loop()
{
digitalWrite(3, HIGH);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, HIGH);
digitalWrite(8, HIGH);
digitalWrite(9, LOW);
delay(1000);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, HIGH);
digitalWrite(8, HIGH);
digitalWrite(9, HIGH);
delay(1000);
digitalWrite(3, HIGH);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
digitalWrite(6, HIGH);
digitalWrite(7, HIGH);
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
delay(1000);
// put your main code here, to run repeatedly:
}
4. Video Simulasi
[Kembali]
Percobaan 2 Kondisi 14
Percobaan 2 Kondisi 14
Pada percobaan 2 itu merupakan rangkaian dengan arduino dan seven segmen, diman pin pin yang ada pada arduino terhubung ke seven segmen, pin dari arduino yang terhubung yaitu pin 3 sampai 9 ke seven segment. Program Arduino berisi bagaimana seven segment menampilkan angka 4, 7, 5 dengan mengatur bagian yang hidup.
6. Link Download
[Kembali]
Link Download Rangkaian Percobaan 2 Kondisi 14[disini]
Link Download Video Percobaan 2 Kondisi 14[disini]
Link Downoad Listning Program[disini]
Link Download Datasheet Arduino[disini]
Link Download Datasheet Seven Segment[disini]
Link Download HTML[disini]
Tidak ada komentar:
Posting Komentar