Professional Documents
Culture Documents
Arduino Lab Experiment 4
Arduino Lab Experiment 4
CPE – 3
LABORATORY ACTIVITY # 4
Party Light
Verification of Basic
Binary Operators and
Basic Theorems
using Gates
Verification of Basic
Binary Operators and
Basic Theorems
using Gates
Objective:
To use the Arduino to control a RGB (red, blue, green) LED. The values of RGB can be
manipulated to mix color to create any color.
Procedure:
1. Hook the components up according to the diagram below. (Please note the pin diagram for the
RGB LED on the figure provided.)
2. Create a light sequence using functions that will create a party vibe. Color sequences will be a
matter of personal preference. You can create colors by changing the values in your code.
(Note: Your color sequence must be UNIQUE. No two pairs should have similar colors and
sequences)