Republic of the Philippines City of Taguig Taguig City University Gen. Santos Ave. Central Bicutan, Taguig City Name:Czarina Jane N. Ochoa Activity: _____Activity #1_________________ Title: Blinking lights Course/Yr & Sec.: BSCS 3rd year -B2018 Subject: _ IT101-Micro Controller Programming_ Instructor: _____Prof. Edmar G. Tan___________ I. MATERIALS/COMPONENTS 1 Arduino Uno Board 1 Breadboard Connecting Wires II. CONNECTION DIAGRAM (Using VBB) III. SOURCE CODE import muvium.compatibility.arduino.*; public class Led extends Arduino{ int ledPin[] = {9,8,7,6,5,4,3}; public void setup() { for (int i =0;i < 7;i++) { pinMode(ledPin[i], OUTPUT); } } public void loop() { for (int i =0;i < 7;i++) { digitalWrite(ledPin[i], HIGH); delay(1000); digitalWrite(ledPin[i], LOW); delay(1000); } } } IV. OBSERVATION There are 7 leds that is used in this activity, but it only have a short code by declaring each led in integer/character , using the for loop by this format “ for (int i =0;i < 7;i++) “ each time the for loop will count, the led will blink after every other and will go on repeatedly each led has 1000 millisecond turned on and off, like a blinking Christmas light. V. CONCLUSION The led lights will turned on and off one by one and will go on and on.