arduino assignment
arduino assignment
BSIT 3 BLK 2
For me leds are good for making some great creation using arduino with led we can make Christmas
light or some emergency lights for our home this is the project I choose to take some research
because it may good to work on I see this code to guide me on how to use arduino using led and also
to add some function on this existing work
Components Required
You will need the following components −
1 × Breadboard
1 × Arduino Uno R3
1 × LED
1 × 330Ω Resistor
2 × Jumper
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
*/
// the setup function runs once when you press reset or power the board
void loop() {
digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.tutorialspoint.com/
arduino/
arduino_blinking_led.htm&ved=2ahUKEwj3yvrDqZWBAxVQzzgGHUWSBEwQFnoECA4QAQ&usg=AOvVaw3lSRYNax
Bq_jfOVgXQ8nx6