Chapter 9 Potentiometer & RGBLED
In this chapter, we will use 3 potentiometers to control the brightness of 3 LEDs of RGBLED to make it show
different colors.
Project 9.1 Colorful Light
In this project, 3 potentiometers are used to control RGBLED and the principle is the same with the front soft
light. Namely, read the voltage value of the potentiometer and then convert it to PWM used to control LED
brightness. Difference is that the front one need only one LED, but this project needs a RGBLED(3 LEDs).
Component List