RGB Programs

Common Anode (CA) vs. Common Cathode (CC)

RGB Breadboard (Common Anode)

Example Files: Ross-ArduinoExamples.zip

  1. Download and extract the example files.
  2. Read and upload the example.
  3. Write a new program to replicate the challenge.

1-RGB-Blink: Blink red, green, and blue individually.

1 Blink

1 Blink Challenge

2-RGB-Colour Challenge: Use the potentiometer as smooth analog colour selector (scroll through all the hues of colour).

2 Colour

2 Colour Challenge

3-RGB-Rainbow Challenge: Adjust the speed at which the RGB changes hues using the potentiometer.

3 Rainbow

3 Rainbow Challenge