Professional Documents
Culture Documents
COMPTECH 315 BIT III B Module 01 LED DISPLAY Part 3
COMPTECH 315 BIT III B Module 01 LED DISPLAY Part 3
COMPTECH 315 BIT III B Module 01 LED DISPLAY Part 3
COLLEGE OF TECHNOLOGY
Course Subject : COMPTECH 315 (Microprocessor System) Room No. : Room 311
MODULE 01
LED DISPLAY – PART 3
LEARNING OBJECTIVES:
To construct a microprocessor/microcontroller circuit using Arduino Uno with resistors and light-
emitting diodes (LEDs) as output components.
To program a microprocessor/microcontroller circuit based on the required output. In this module, the
required output is to light the LEDs in the following manner:
Left-To-Right, then OFF
Right-To-Left, then OFF
Both Sides-To-Center, then OFF
Center-To-Both Sides, then CYCLE
LIST OF COMPONENTS:
CIRCUIT DIAGRAM:
Republic of the Philippines
CEBU TECHNOLOGICAL UNIVERSITY
NAGA EXTENSION CAMPUS
Central Poblacion, City of Naga, Cebu, Philippines
Website: http://www.ctu.edu.ph E-mail: ctunagaextensioncampus@gmail.com
Phone: +6332 417 0418
COLLEGE OF TECHNOLOGY
SOURCE CODE:
}
int i,temp;
int displayLED1[8]={2, 3, 4, 5, 6, 7, 8, 9}; for(i=0;i<8;i++)
int displayLED2[8]={2, 3, 4, 5, 6, 7, 8, 9};; digitalWrite(displayLED1[i], LOW);
int displayLED3[8]={2, 3, 4, 5, 6, 7, 8, 9};; delay(300);
COLLEGE OF TECHNOLOGY
Submitted To: