In project 4, a technique called Pulse Width Modulation (PMW) would be used. PMW rapidly turned the output pin high and low over a fixed period of time.
In this project, I would use three photoresistors and detected the amount of light that hit them. Each of them would be covered with three different colored gels as filters – Red, Green, Blue, so the red filter passed only red light, green filter only passed green light, and blue filter passed blue light.
Also, this time I would use a RGB LED, a LED with RGB colors. The project’s idea was to use PMW to show how strong the light of Red, Green, and Blue detected, and output to the RGB light based on the reading. this was my first time playing with photoresistor, so I was kinda excited about this experiment.

