Lampu LED Arduino
LAMPU LED ARDUINO
1. ALAT DAN BAHAN :
a. Arduino Mega 2560
b. Kabel Jumper
c. Breadboard
d. Lampu LED
e. Kabel USB Arduino
2. LIBRARY :
Tidak Ada
3. RANGKAIAN :
a. GND -> GND
b. OUT -> PIN 22
4. CODING :
int ledpin = 22;
void setup() {
// put your setup code here, to run once:
pinMode(22, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ledpin, HIGH);
delay(500);
digitalWrite(ledpin, LOW);
delay(500);
}
5. HASIL FOTO :
6. HASIL VIDEO :
Lampu LED Arduino
Reviewed by PKLSMKPTPWS
on
Oktober 16, 2022
Rating:
![Lampu LED Arduino](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI-q-tp1JyrgHk21qOZ0Y-8qNSitp9YtaNftb1W9l1Ey3pfPf5Z5Lv1NLbfk30EqQT7BOd_KDE0aNaw9ghQDmRrn1_LY2TX4Hl72UsGMTm6h2TMLmPEtyiGeq2-0urlJo4iJjm-S7kQCVLiz3z4P4TVFPtP6Uu9FNsOTB8ycpUHASE_mGW97z6SQFwEg/s72-c/WhatsApp%20Image%202022-10-17%20at%2013.21.15.jpeg)
Tidak ada komentar